Remove the `__somersault__` compatibility at Plone 7 final
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 43/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- javascript
Research direction
Read the migration plan in #379 and the bulk migration issue #408 to understand the required sequence. The Aurora change is to remove migrateSomersaultRegion, but the issue does not name its file or tests; first locate that function and check how the migration in #408 updates stored content. Done means Aurora no longer renames __somersault__ on read after the bulk migration.
Written by the indexing model from the issue text.
Description
Context
#379 renamed the stored page body to the main region with "@type": "plate". For a transition period, the old shape (blocks.__somersault__ with "@type": "__somersault__") is still accepted in several places:
- plone.restapi 10.3.0 (plone/plone.restapi#2092): the visitor handles both
@types, and__somersault__is deprecated. - Aurora:
migrateSomersaultRegionrenames the key when content is read (#412). - Nick 3.1.0 (plone/nick#99) and kitconcept.plate (kitconcept/volto-plate#122) read
__somersault__asmain.
This is step 4 of the migration plan in #379.
Work
- plone.restapi: drop the
__somersault__handling in its next major version. - Aurora: remove the read-time rename at Plone 7 final. Before that, the bulk migration of #408 should have renamed the stored content on existing sites.
- Nick and kitconcept.plate: drop the legacy handling, at their own pace.
Refs #379, #408.
Assisted-by: Claude Opus 5.5
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 9
- Avg merge
- 4d 7h
- Merged PRs (30d)
- 54
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from plone/aurora
-
01 type: bug 41 lvl: easy
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 2 days
-
Edit content TabList: selected tab's icon/label are hidden by its own selection indicator - a11yOpen01 type: bug 99 tag: UX Accessibility
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 2 days
-
01 type: bug 99 tag: UX Accessibility
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 2 days
-
01 type: bug 30 needs: triage
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Maintainers usually reply within 2 days
Similar issues
-
accessibility bug dark-mode dashboards
Difficulty 1/5 Under an hour Newbie friendliness 84/100
quarto-dev/quarto-cli#15447 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
521xueweihan/HelloGitHub#4655 ·
-
[19.0] pos_sale: settling an order with a 0 down payment line crashes (reading 'reward_id') and leaves a wrong amount duePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
Maintainers usually reply within 1 day
-
bug CRIT-3
Difficulty 1/5 Under an hour Newbie friendliness 70/100
NASA-AMMOS/anms#426 ·