[TYPO3-core] RFC #14295: Recycler and tcemain->process_cmdmap cannot undelete some records
Lars Houmark
lars at houmark.com
Thu May 6 21:13:13 CEST 2010
Hi Steffen,
Steffen Kamper wrote:
> It would be more easy if you explain what the problem was. Here, because
> root level records can't have a parent, they never passed the check. You
> already wrote that in comment in code, but writing such seperate in RFC
> it makes it more easy to understand.
Is this not explanation enough? (from my original RFC):
Problem: Some records (like be_users) with pid of 0 cannot be undeleted
by the tcemain->process_cmdmap undelete method. Since the recycler uses
this instance to undelete records, it is also affected.
and:
Notes: The pid check of the isRecordUndeletable function seems to be
simply too strict, and since a page with the pid of 0 has no parent page
to check if is deleted, it can simply allow the undelete process to move on.
--
Lars Houmark
More information about the TYPO3-team-core
mailing list