Bug #88918
closed
Create page via drag'n'drop does not respect TCAdefaults in pagets [from #25021]
Added by Lukas Speck over 5 years ago.
Updated over 4 years ago.
Tags:
pagetree, tcadefaults
Description
When creating a new page via drag'n'drop in the new pagetree the configured TCAdefaults settings from pagets won't be applied to the newly created page. This bug still exists in TYPO3 v9.
- Copied from Bug #25021: Create page via drag'n'drop does not respect TCAdefaults in pagets added
- Status changed from New to Needs Feedback
Which fields did you set?
I'm not able to reproduce this neither in v9 nor in current master.
I used this configuration:
TCAdefaults.pages {
is_siteroot = 1
}
TYPO3 9.5.x
# Page structure
+ Root [uid=1]
+ Sub [uid=2]
TCAdefaults via pages.TSconfig on page.uid=1¶
# Page TS
TCAdefaults.pages {
is_siteroot = 1
no_search = 1
no_sitemap = 1
no_index = 1
no_follow = 1
}
- Does work if a new page is inserted via list module > page.uid=2 > "new record"
- Does not work when dragging a new page into uid=1|2
TCAdefaults via Pages.tsconfig and condition¶
# Page TS added by ExtensionManagementUtility::addPageTSConfig()
[page["uid"] == 901]
TCAdefaults.pages {
is_siteroot = 1
no_search = 1
no_sitemap = 1
no_index = 1
no_follow = 1
}
[END]
- Does work if a new page is inserted via list module > page.uid=2 > "new record" > direct child of page.uid=1
- Does not work when the new page is no direct child of page.uid=1 (if e.g. is child of page.uid=2)
- Does not work when dragging a new page into uid=1|2
I can confirm this bug, I just set the no_search value to 1.
Thanks
- Status changed from Needs Feedback to New
- Related to Bug #89211: TCAdefaults.pages.hidden = 0 not working in TYPO3 9.5.9 and 10.1.0-dev using page tree drag & drop added
- Related to Bug #89685: TCAdefaults.pages.backend_layout not working for pages created via drag and drop added
- Status changed from New to Closed
This has the same cause (and solution) as #89211 - closing as duplicate, please continue there.
Also available in: Atom
PDF