Project

General

Profile

Actions

Bug #25021

closed

Create page via drag'n'drop does not respect TCAdefaults in pagets

Added by Fabrizio Branca almost 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2011-02-13
Due date:
% Done:

100%

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

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.

(issue imported from #M17565)


Files

cron_setdefaultauthor_1.0.0.zip (2.92 KB) cron_setdefaultauthor_1.0.0.zip The new extension for TYPO3 6.x Michael Lang, 2016-02-26 18:42

Related issues 6 (0 open6 closed)

Has duplicate TYPO3 Core - Bug #25107: Pagetree does not fill in default values as defined with user ts config when creating new pagesClosed2011-02-19

Actions
Has duplicate TYPO3 Core - Bug #27510: Pagetree not respecting TCAdefaultsClosed2011-06-17

Actions
Has duplicate TYPO3 Core - Bug #27841: 4.5.x pagetree not respecting TCAdefaultsClosed2011-07-05

Actions
Has duplicate TYPO3 Core - Bug #28278: New pages created through pagetree don't take pageTS-defaults into accountClosed2011-07-18

Actions
Has duplicate TYPO3 Core - Bug #29601: TCAdefaults.pages.hidden = 0 not working with new page treeClosedChris topher2011-09-09

Actions
Copied to TYPO3 Core - Bug #88918: Create page via drag'n'drop does not respect TCAdefaults in pagets [from #25021]Closed2019-08-05

Actions
Actions #1

Updated by Tolleiv Nietsch over 13 years ago

  • Status changed from New to Accepted
  • Target version deleted (0)
Actions #2

Updated by Stefan Neufeind over 13 years ago

Collecting some details from the other bugs here.

Example-defaults (from #25107):
Configure TCAdefaults for pages:
TCAdefaults {
pages {
author = Susanne Moog
author_email =
}
}

Creating a new page through pagetree goes through class.t3lib_tcemain.php::process_datamap().

PageTS could be accessed through:
$pageTS = t3lib_beFunc::getPagesTSconfig($pid);
if (isset($pageTS['TCAdefaults.'])) {
See for example typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php or t3lib/class.t3lib_transferdata.php

Actions #3

Updated by most wanted about 13 years ago

Shouldn't this be a "must have"?

Actions #4

Updated by Popy no-lastname-given almost 13 years ago

I found a few solutions to this problem, but the real questin behind this is "which class should have the role to determine field values" ?

For new the only which seems to do the job properly is t3lib_transferdata (method fetchRecord)

So one of the solution is to rewrite t3lib_tcemain->newFieldArray in order to use (or replace) t3lib_transferdata->fetchRecord and to be called after "pid" determination (as pagetsconfig depends of record's pid)

Actions #5

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9747

Actions #6

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9747

Actions #7

Updated by Gerrit Code Review over 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9747

Actions #8

Updated by Gerrit Code Review over 12 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/9747

Actions #9

Updated by Anonymous over 12 years ago

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

Updated by Gerrit Code Review over 12 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9887

Actions #11

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/9888

Actions #12

Updated by Gerrit Code Review over 12 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/9889

Actions #13

Updated by Gerrit Code Review over 12 years ago

Patch set 2 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/9887

Actions #14

Updated by Anonymous over 12 years ago

  • Status changed from Under Review to Resolved
Actions #15

Updated by Bart Dubelaar over 12 years ago

It seems that TCAdefaults.pages in UserTS are still not respected. Just tested this in 4.7.2. Can anyone confirm this?

Actions #16

Updated by Michael Lang over 8 years ago

In 6.2.19 this bug is still not fixed. We are using the extension from Ernesto Baschny and the userinformation (username/email) do not fill the TCAfields.

Actions #17

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions #18

Updated by Lukas Speck over 5 years ago

  • Copied to Bug #88918: Create page via drag'n'drop does not respect TCAdefaults in pagets [from #25021] added
Actions

Also available in: Atom PDF