Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading to Plone 6 resets behaviors #438

Open
szakitibi opened this issue Dec 5, 2024 · 0 comments
Open

Upgrading to Plone 6 resets behaviors #438

szakitibi opened this issue Dec 5, 2024 · 0 comments

Comments

@szakitibi
Copy link
Contributor

The upgrade step 1015 reapplies typeinfo as during Plone 5.2 to Plone 6 upgrades. The upgrade step can be found here:

As a result any additional behaviors registered for EasyForm will be purged and the behavior registrations are restored to the product default. The upgrade step 1015 should not purge behaviors and apply only the necessary changes.

Steps to reproduce:

  1. Create a plone 5 site with collective.easyform 3.x (used 3.2.1), make it multilingual and install easyform addon
  2. In Site Setup / Dexterity Types / EasyForm activate "plone.translatable" behavior if it is not activated already
  3. Create an EasyForm, translate it to test "plone.translatable" works
  4. Update requirements.txt and buildout.cfg to plone 6 and collective.easyform version pin to 4.x (used 4.2.1)
  5. Upgrade Plone site (@@plone-upgrade) and apply collective.easyform upgrade steps

What happened

The "plone.translatable" behavior is not registered for EasyForm.

What I expect

The "plone.translatable" behavior is still registered for EasyForm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant