Project

General

Profile

Actions

Bug #99332

closed

Form: Fields are marked as deleted when created in Container Elements

Added by Maximilian Ziermaier over 1 year ago. Updated 2 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2022-12-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
7.4
Tags:
form yaml field container deleted (project zwr)
Complexity:
Is Regression:
Sprint Focus:

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

test.form.yaml (1.08 KB) test.form.yaml Maximilian Ziermaier, 2022-12-10 18:22
Step-by-step.txt (172 Bytes) Step-by-step.txt Maximilian Ziermaier, 2024-06-09 09:16
withforms2db.form.yaml (1.07 KB) withforms2db.form.yaml Maximilian Ziermaier, 2024-06-09 09:16
withoutforms2db.form.yaml (664 Bytes) withoutforms2db.form.yaml Maximilian Ziermaier, 2024-06-09 09:16
Actions #2

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

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.

Actions #4

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?

Actions #5

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.

Actions #6

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.

Actions

Also available in: Atom PDF