Project

General

Profile

Actions

Bug #96011

closed

page TSConfig to select root(s) of selectTree doesn't work

Added by Lina Wolf about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2021-11-17
Due date:
% Done:

0%

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

Description

Before the following change:

https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/11.4/Feature-95037-NewStartingPointsSettingForFormEngineTreeConfig.html

It was possible to set a selectTrees rootId with page TsConfig as is still documented here: https://docs.typo3.org/m/typo3/reference-tsconfig/master/en-us/PageTsconfig/TceForm.html#config-treeconfig

However since the new Feature neither the old option

TCEFORM.tt_content.myField.config.treeConfig.rootUid = 42

nor the new option

TCEFORM.tt_content.myField.config.treeConfig.startingPoints= 42

seem to work.

I would like to update the documentation was the behaviour of seetting the rootUid via TsConfig removed without replacement?

Actions #1

Updated by Oliver Bartsch about 3 years ago

  • Status changed from New to Needs Feedback

Hi Lina,

just checked this, but can not confirm. Both rootUid as well as startingPoints work as expected. I tested with the styleguide fields tx_styleguide_elements_select.select_tree_5 and tx_styleguide_elements_select.select_tree_6, as well as with pages.categories (for the new TCA type "category").

Used following TSconfig options:

TCEFORM.tx_styleguide_elements_select.select_tree_5.config.treeConfig.rootUid = X
TCEFORM.tx_styleguide_elements_select.select_tree_5.config.treeConfig.startingPoints = X,X

TCEFORM.tx_styleguide_elements_select.select_tree_6.config.treeConfig.rootUid = X
TCEFORM.tx_styleguide_elements_select.select_tree_6.config.treeConfig.startingPoints = X,X

TCEFORM.pages.categories.config.treeConfig.rootUid = X
TCEFORM.pages.categories.config.treeConfig.startingPoints = X,X

Could you please check with the above options if you can still reproduce in current master?

Actions #2

Updated by Lina Wolf about 3 years ago

Cant reproduce. I think there was an error in my TsConfig

Actions #3

Updated by Lina Wolf about 3 years ago

  • Status changed from Needs Feedback to Closed
Actions

Also available in: Atom PDF