[TYPO3-dev] fixVersioningPid
Adam Jenkins
emperorcezar at gmail.com
Fri Mar 3 17:36:20 CET 2006
Has anyone looked into this?
On 3/1/06, Adam Jenkins <emperorcezar at gmail.com> wrote:
>
> I am wondering why it is necessary to be in a different workspace for
> fixVersioningPid to return the pid?
> I was getting an error message when trying to delete a page version, so I
> traced it to fixVersioningPid in t3lib_befunc only to find that the
> following if statement was not being entered.
>
> // If ID of current online version is found, look up the
> PID value of that:
> if ($oid &&
> !strcmp((int)$wsid,$GLOBALS['BE_USER']->workspace)) {
> $oidRec = t3lib_BEfunc::getRecord($table,$oid,'pid');
> if (is_array($oidRec)) {
> $rr['_ORIG_pid'] = $rr['pid'];
> $rr['pid'] = $oidRec['pid'];
> }
> }
>
> Is there a reason why this shouldn't return the pid? Because having to
> swith workspaces to delete a page version is annoying, esspecially if you're
> admin.
>
> --
> ---------------------------------------
> Adam Jenkins
> emperorcezar at gmail.com
> 312-399-5161
> ---------------------------------------
>
--
---------------------------------------
Adam Jenkins
emperorcezar at gmail.com
312-399-5161
---------------------------------------
More information about the TYPO3-dev
mailing list