Project

General

Profile

Actions

Bug #85544

closed

The form definition upgrade wizard does not update all relevant plugin settings

Added by Ralf Zimmermann over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Category:
Form Framework
Start date:
2018-07-12
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

The form definition upgrade wizard (rename .yaml => .form.yaml) does not update all relevant plugin settings.
The form definition renaming wizard updates the "settings.persistenceIdentifier" property within the flexform but ignores the "Override finisher settings" options.

The form plugin tries to prevent unintentionally finisher settings overrides.
This could be happened if you have an already overridden finisher option and select another form definition.
In some cases it could be, that a finisher override from form definition "A" is set as an finisher override for form definition "B" if you switch from form definition "A" to "B".
To prevent this, every dynamic flexform sheet (every finisher, which allows the form plugin to override settings, appears in another tab) has an unique name which is composed of properties of the form definition.
This name is an md5 hash from the following form definition properties:

  • persistenceIdentifier
  • prototypeName
  • formIdentifier
  • finisherIdentifier

Since the form definition renaming wizard renames the "persistenceIdentifier" propery, the calculation for the unique name for the flexform sheets for the finisher overrides results in another md5 hash. The result is that the corresponding sheets are no longer associated with the currently selected form and all overridable finisher options are empty.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #85685: Uncaught TYPO3 Exception in form update wizardClosed2018-07-30

Actions
Related to TYPO3 Core - Task #82328: EXT:form - ship own uploads (sub)folder for form definitionsClosed2017-09-07

Actions
Actions

Also available in: Atom PDF