Skip to content

Upgrading to Plone 6 resets behaviors #438

Description

@szakitibi

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions