Thanks Vincent. I wasn't sure
if I might be doing something entirely wrong.
I have added XWIKI-1014 ( http://jira.xwiki.org/jira/browse/XWIKI-1014
) for this problem.
Thanks!
-Tom
--
Tom Kliethermes
eSupport Initiatives
IBM Information Management
(913) 599-7240 Fax: (913) 599-8590
http://www.ibm.com/software/data
Vincent Massol <vincent@massol.net>
03/23/2007 04:10 AM
Please respond to
xwiki-users@objectweb.org
To
xwiki-users@objectweb.org
cc
Subject
Re: [xwiki-users] renameDocument backlinks
On Mar 22, 2007, at 8:24 PM, Thomas Kliethermes wrote:
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).
Thanks Thomas. Could you please create a jira issue for
this. This looks important to be fixed in b6 which is supposed to be delivered
on next Monday... :)
Thanks
-Vincent
Other than that Document.renameDocument seems to work great!
Thanks,
-Tom
--
You receive this message as a subscriber of the xwiki-users@objectweb.org
mailing list.
To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws