Hello all,
I noticed that when a document is renamed, it's "child" documents
don't have their parent values updated. It looks like just a few lines
of code, maybe an hql
ALTER XWikiDocument doc WHERE doc.parent = '"+oldName+"' SET doc.parent
= '"+newName+"'
Is this too messy?
I think a loop with doc.doc.setParent(newName) and doc.save() would be
too resource intensive with databases which fsync every transaction.
Should we bother to even ask the user the way it asks to update links?
Should we update #includeForm, #includeInContext, and #includeTopic as well?
What are your thoughts?
~Caleb James DeLisle
I'm new here, let me know if I posted in the wrong section