Review main Abandoned Breaking

19930[!!!][BUGFIX] Clear pi_flexform if listType changes

Georg Ringer CR 0 V 0 Easy +15 −0 updated 09/08/14, 16:35

Commit message

If the list_type field in tt_content changes which means that the
type of plugin changes, the flexform field is cleared.

Reason is that normally no fields are resetted and the fields still
hold the same content. Having switchableControllerActions can lead
to problems when switching between extbase based extensions which
can only be solved by editing the field in the database directly or
by deleting the content element and recreating it.

If 2 plugins would share the same flexform configuration, its
configuration will get lost now when switching the type. The same
happens if a plugin with flexforms switches to e.g. "text" and the
user switches back to the plugin.

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Files 2