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
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
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 <[email protected]> 03/23/2007 04:10 AM Please respond to [email protected] To [email protected] 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 [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
participants (2)
-
Thomas Kliethermes -
Vincent Massol