Issue Bug Closed

#15679t3lib_befunc::getTSconfig_pidValue() allways returns wrong pid or error-code

old_pekue 02/20/06, 12:09 updated 08/12/06, 14:17

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.