Bug #91845 ยป CreateSiteConfiguration.php.patch
typo3/sysext/core/Classes/Hooks/CreateSiteConfiguration.php | ||
---|---|---|
* - live workspace
|
||
* - resolved uids
|
||
* - pages on root level
|
||
* - pages which are not translated
|
||
* - non-versioned records
|
||
* - allowed doktypes
|
||
* - not bulk importing things via CLI
|
||
... | ... | |
|| $dataHandler->BE_USER->workspace > 0
|
||
|| !isset($dataHandler->substNEWwithIDs[$id])
|
||
|| (int)$fieldValues['pid'] !== 0
|
||
|| (int)$fieldValues['l10n_parent'] !== 0
|
||
|| (isset($fieldValues['t3ver_oid']) && (int)$fieldValues['t3ver_oid'] > 0)
|
||
|| !in_array((int)$fieldValues['doktype'], $this->allowedPageTypes, true)
|
||
|| $dataHandler->isImporting
|