Project

General

Profile

Actions

Feature #99724

closed

Add possibility to search for ds_pointerField in rootline of current table

Added by Philipp Wrann over 1 year ago. Updated 7 months ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Start date:
2023-01-26
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The following TCA does not work without using a Hook to resolve the dataStructure:

"config" => [
    "type" => "flex",
    "ds_pointerField" => "backend_layout",
    "ds_pointerField_searchParent" => "pid",
    "ds_pointerField_searchParent_subField" => "backend_layout_next_level",
]

The fields ds_pointerField_searchParent and ds_pointerField_searchParent_subField are only taken into account, if the dataStructure is defined in another table.

See:
https://github.com/TYPO3/typo3/blob/main/typo3/sysext/core/Classes/Configuration/FlexForm/FlexFormTools.php


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #102224: Avoid TemplaVoila related FlexForm detailsClosed2023-10-22

Actions
Actions #1

Updated by Christian Kuhn 7 months ago

  • Related to Task #102224: Avoid TemplaVoila related FlexForm details added
Actions #2

Updated by Christian Kuhn 7 months ago

  • Status changed from New to Rejected

Hey.

I don't think we should do this: We actively removed support for ds_pointerField_searchParent and its friends with #102224 to reduce complexity of some very rarely used TCA capabilities.

To my perception, the lookup logic based on 'ds' and 'ds_pointerField' is what is typically used, most notably by tt_content of course.

If you really need to have "more" for whatever reason, the events in getDataStructureIdentifier() and parseDataStructureByIdentifier() give you all the flexibility to manipulate the DS lookup with a lot of freedom.

I hope it's ok to close here as 'rejected'. Please ping us if you don't agree and still see broad use cases for extending the default DS lookup mechanism in core.

Actions

Also available in: Atom PDF