#15679t3lib_befunc::getTSconfig_pidValue() allways returns wrong pid or error-code
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)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.