Bug #105949
closedDisable record functionality not working for "Form engine - inline 1:n 1:n"
0%
Description
When an inline element has a column of type inline (nested inline elements) and records of the nested inline element visually contain the hidden
field, the hide record toggle of the nested inline element has no effect, when the nested inline record is expanded .
How to reproduce:
- TYPO3 Main (v12 + 13 also affected)
- Apply the appended patch for ext:styleguide, so the
tx_styleguide_inline_1n1n_childchild
record will show thehidden
field. Ensure TYPO3 cache is flushed. - Create new Record of type "Form engine - inline 1:n 1:n"
- In the new record, create 2 inline elements for "inline_1 description"
- Save the record and ensure, that the 2 nested inline elements are collapsed
- Expand the first nested inline record
- Now use the "Hide record" toggle of the first nested inline element as shown on the screenshot below
- Save the record again
- Result: The nested inline record is not hidden as expected
Observations:
When the "Hide record" toggle is clicked, it correctly visually hides the record and also the toggle state of the field Enabled
in the nested inline element is toggled. The field value is however not set to the expected value 1
for a hidden record. Thus, saving the record will perform a POST request, where the value for the hidden
field contains the wrong value (e.g. data[tx_styleguide_inline_1n1n_childchild][5][hidden] = 0
).
Current workaround
An editor must ensure, that nested inline elements are collapsed, when the "Hide record" toggle is used.
Files
Updated by Andreas Kienast 22 days ago
Is this the same issue as reported in https://forge.typo3.org/issues/96135?
Updated by Torben Hansen 22 days ago
- Has duplicate Bug #96135: IRRE: Hide Record switch not work added
Updated by Torben Hansen 22 days ago
- Has duplicate deleted (Bug #96135: IRRE: Hide Record switch not work)
Updated by Torben Hansen 22 days ago
- Is duplicate of Bug #96135: IRRE: Hide Record switch not work added