Bug #97786
closedWrong button hidden in nested inline relations
100%
Description
Setup¶
- Having an inline field, which itself references an inline field.
- The parent inline field has the following TCA options:
- minitems => 1
- maxitems => 1
- appearance.levelLinksPosition => 'bottom'
- The child inline field doesn't need any special TCA
Example TCA: https://github.com/TYPO3/styleguide/pull/330/files
Steps to reproduce:¶
- Create a new record
- Click on the new record button to create a new parent inline field record.
Expected¶
The button of the parent inline field is hidden, as adding one new record the maxitems value (1) is reached.
Actual¶
The button of the inline child is hidden instead:
Files
Updated by Nikita Hovratov over 2 years ago
- Related to Bug #92382: levelLinksPosition=bottom is not working correctly especially with minitems=1 set and leads to misbehaviour in inline children added
Updated by Gerrit Code Review over 2 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74928
Updated by Gerrit Code Review over 2 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/74928
Updated by Andreas Kienast over 2 years ago
- Sprint Focus set to On Location Sprint
Updated by Nikita Hovratov over 2 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5ff4de8fd2aac8018a5d0e0e58e69225909ac64c.
Updated by Gerrit Code Review over 2 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/75435
Updated by Nikita Hovratov over 2 years ago
- Status changed from Under Review to Resolved
Applied in changeset e5f4eff49882fc1ccf151537493e90d7cb88d681.
Updated by Oliver Hader about 2 years ago
- Related to Bug #98233: Regression: After deleting image in record "add" button is not displayed again added