Hi, I may have run into a renameDocument problem with backlinks.
I have a link to Main.a on Main.WebHome, and I rename document Main.a to
Main.b, the link on Main.WebHome is properly updated to point to Main.b.
But, if I then further rename Main.b to Main.c, the link on Main.WebHome
is not re-updated to point to Main.c.
However, if I edit and save Main.WebHome between the two renames, it does
update the backlink the second time.
I think it's because XWikiDocument.renameDocument does not save() the
backlinkDocument (or I'm doing something completely wrong).
Other than that Document.renameDocument seems to work great!
Thanks,
-Tom
--
Tom Kliethermes
eSupport Initiatives
IBM Information Management
(913) 599-7240 Fax: (913) 599-8590
http://www.ibm.com/software/data