Bug #99332
closedForm: Fields are marked as deleted when created in Container Elements
0%
Description
When creating a new empty form, newly inserted fields are marked as 'deleted' if they are inside a form container element like "Container" or "Grid: Row".
The fields are still displayed and processed normally in the backend and frontend.
Either this logic is not clear to me, or it is a bug.
Attached is a newly created test form in which text-2 is incorrectly marked as deleted.
renderingOptions: fieldState: text-2: renderingOptions: deleted: 1
Files
Updated by Maximilian Ziermaier over 1 year ago
- File test.form.yaml test.form.yaml added
Updated by Riccardo De Contardi 2 months ago
- Status changed from New to Needs Feedback
I am not able to reproduce it even on TYPO3 11.5.37
Could you add a step-by-step tutorial? Thank you.
Updated by Maximilian Ziermaier 2 months ago
- File Step-by-step.txt Step-by-step.txt added
- File withforms2db.form.yaml withforms2db.form.yaml added
- File withoutforms2db.form.yaml withoutforms2db.form.yaml added
- Tags changed from form yaml field container deleted to form yaml field container deleted (project zwr)
It's been a long time...
I looked up the project from back then and the problem is still there.
But it is obviously not due to the core form extension, but to the extension form_to_database (V2.1.2).
If I deactivate the form_to_database extension, the problem no longer exists.
Sorry that I did not recognize this immediately.
But thank you for your time and effort.
But for the documentation, I have attached the step-by-step instructions and the results with and without the form_to_database extension.
Updated by Riccardo De Contardi 2 months ago
Thank you for your kind and quick answer; if you agree, I'd close this issue as non-core related, do you agree?
Updated by Maximilian Ziermaier 2 months ago
Yes, please close the issue.
Also for Documentation:
I just saw that this behavior has been fixed in the version (2.2.0) of form_to_database:
https://gitlab.com/lavitto/typo3-form-to-database/-/blob/master/CHANGELOG.md?ref_type=heads V2.2.0: [BUGFIX] Nested elements should work. Fixed nested fields always marked deleted.
Updated by Riccardo De Contardi 2 months ago
- Status changed from Needs Feedback to Closed
- Target version deleted (
next-patchlevel)
Maximilian Ziermaier, thank you again.
Closing this issue in agreement with the reporter as non-core related.