Project

General

Profile

Actions

Bug #97833

open

TCA: Buttons for inline->appearance->usecombination behave wrong

Added by David Bruchmann almost 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2022-06-30
Due date:
% Done:

0%

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

Description

The example tx_styleguide_inline_usecombination has two buttons:

Button 1 shall create a new record, of the child table.
Button 2 (beside the select field) shall create a relation to an existing record of the child table.

The behavior is this:

Button 1 is creating new records only if there are no records to create a relation. Else a relation is created and the label on the button turns out to be misleading.
Button 2 (beside the select field) is creating a relation to an existing record and if no records are available anymore (all existing ones have already a relation) a new record is created.

Both buttons work similar and depend on the situation if a child record to create a relation is available.
If there exist child records without relation a relation is created, else a new record.
So the behavior of the buttons never depends at all on their intended purpose but on the potential child records.

Comment:
I've an extension that is using the feature with the two buttons and I'd need a core-fix that the extension is running well.

The issue is described also here:
https://github.com/TYPO3/styleguide/issues/331


Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Epic #98593: [UX] - Clear standardsNew2023-08-03

Actions
Actions #1

Updated by David Bruchmann almost 2 years ago

  • Description updated (diff)
Actions #2

Updated by David Bruchmann about 22 hours ago

Actions

Also available in: Atom PDF