Actions
Bug #15679
closedt3lib_befunc::getTSconfig_pidValue() allways returns wrong pid or error-code
Start date:
2006-02-20
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If a record in a workspace is created by "auto-versioning when edit" its stored on pid -1.
t3lib_befunc::getTSconfig_pidValue() takes abs($thePidValue) as uid to find the real PID. Therefore it allways returns the pid of the record with uid 1 from the requested table - as long as the record exists: If that record gets the deleted-flag set, the function will return "-2" as an errorcode.
As one result there are no RTE´s in content-elements created by auto-versioning if you delete tt_content_1.
since t3lib_befunc cant be xclassed there is no chance to fix this without editing the file directly - so i think this issue is really severe.
(issue imported from #M2639)
Actions