[TYPO3-dev] problems with the new cmd undelete in T3 4.0
Michael Stucki
michael at typo3.org
Tue Mar 14 14:57:29 CET 2006
Hi Joey,
I agree to the problem but I'm not sure if it even makes sense to fix it for
now. I just thought about the reference index which is most likely ignored
by this feature, isn't it?
For me the easiest solution is to drop the undelete feature for now and add
it again when we have API functions to undelete records (should be the case
in 5.0 I suppose...).
- michael
PS: I think the same problem also applies to Sebastians extended
Undo/History feature. If you read this, please check...
> Hi folks.
>
> I guess this is not a real bug but a kind of misconception.
> While testing the new functionalities of the RC1 I tested the
> implementation of the BE search as well.
> I integrated "undelete" and "undelete and edit" there using the new cmd
> ['undelete'] in the result list display.
> Now when you click on one of the buttons to undeleted an entry it is
> undeleted as expected, which is fine.
> But not, if the page the record belonged to before it was deleted has been
> deleted too.
>
> Example:
> A whole branch of the page tree has been deleted.
> If you undelete the root page of this branch everything is OK, since the
> parent page is still available.
> But if you undelete one of the subpages it doesn't show up anywhere in the
> page tree.
> There's only one possibility to get to that page again: You have to enter
> the uid in the searchbox in the bottom frame of the backend.
> Same thing for records with a pid pointing to a deleted page record.
>
> This makes the undelete concept partly useless.
>
> IMHO it would be useful to check the availability of the parent page
> before undeleting and if it's deleted too make a copy of the undeleted
> record to a special container page "recovered records".
> This will still leave the option to undelete a complete branch including
> the original records while making it possible to use single undeleted
> records regardless of their former parent page.
>
> What do you guys think?
>
> Joey
>
--
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/
More information about the TYPO3-dev
mailing list