Project

General

Profile

Actions

Bug #105949

closed

Disable record functionality not working for "Form engine - inline 1:n 1:n"

Added by Torben Hansen 22 days ago. Updated 22 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2025-01-16
Due date:
% Done:

0%

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

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 the hidden 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

styleguide.diff (1011 Bytes) styleguide.diff Torben Hansen, 2025-01-16 13:04
Bildschirmfoto 2025-01-16 um 13.52.27.png (61.1 KB) Bildschirmfoto 2025-01-16 um 13.52.27.png Torben Hansen, 2025-01-16 13:04

Related issues 1 (1 open0 closed)

Is duplicate of TYPO3 Core - Bug #96135: IRRE: Hide Record switch not workAccepted2021-11-29

Actions
Actions #1

Updated by Andreas Kienast 22 days ago

Is this the same issue as reported in https://forge.typo3.org/issues/96135?

Actions #2

Updated by Torben Hansen 22 days ago

  • Has duplicate Bug #96135: IRRE: Hide Record switch not work added
Actions #3

Updated by Torben Hansen 22 days ago

  • Has duplicate deleted (Bug #96135: IRRE: Hide Record switch not work)
Actions #4

Updated by Torben Hansen 22 days ago

  • Is duplicate of Bug #96135: IRRE: Hide Record switch not work added
Actions #5

Updated by Torben Hansen 22 days ago

  • Status changed from New to Closed

closing as duplicate

Actions

Also available in: Atom PDF