[TYPO3-core] RFC: #9705: Moving a page in Workspace will hide it from editors due to missing access settings of placeholder records

Marcus Krause marcus#exp2009 at t3sec.info
Fri Feb 20 00:12:03 CET 2009


Ingo Renner schrieb am 01/20/2009 01:03 PM Uhr:
> 
> committed Michael's version of the patch to 4.2 and trunk.

introduced regression bug, see #0010483


short roundup:
t3lib_TCEmain::moveRecord_wsPlaceholders() handles arbitrary records,
not only page records.

The newly introduced preserving of page permissions are only valid for
records of table pages.
Moving of any other record in workspaces will result in an sql error as
fields perms_userid, perms_groupid, perms_user, perms_group and
perms_everybody are not existing in such cases.

A simple encapsulation of the new code by

if ($table == 'pages') {
	// page record handling code
}

would resolve it.


Marcus.


More information about the TYPO3-team-core mailing list