Project

General

Profile

Actions

Bug #97786

closed

Wrong button hidden in nested inline relations

Added by Nikita Hovratov over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2022-06-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

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

nested-inline-button.png (9.88 KB) nested-inline-button.png Nikita Hovratov, 2022-06-17 17:10

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #92382: levelLinksPosition=bottom is not working correctly especially with minitems=1 set and leads to misbehaviour in inline children Closed2020-09-23

Actions
Related to TYPO3 Core - Bug #98233: Regression: After deleting image in record "add" button is not displayed againClosed2022-08-31

Actions
Actions #1

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
Actions #2

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

Actions #3

Updated by Nikita Hovratov over 2 years ago

  • Description updated (diff)
Actions #4

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

Actions #5

Updated by Andreas Kienast over 2 years ago

  • Sprint Focus set to On Location Sprint
Actions #6

Updated by Nikita Hovratov over 2 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #7

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

Actions #8

Updated by Nikita Hovratov over 2 years ago

  • Status changed from Under Review to Resolved
Actions #9

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
Actions #10

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF