Esbach, Brandon wrote:
Slash in the actual name is not such a good idea -
xwiki assumes you're trying to create a new space, and acts accordingly.
For me, the updateName() script catches both / and \ though, among other
"problem" characters (or is that something I've changed on mine)?
I completely agree about the use of slash in the actual name of a
document! But it nos always possible to avoid that even though I repeat
it every time I've the opportunity to our users.
As I understand, updateName() script can be used at creation time to
"clean" document names. Is it used by default by the Create panel? It
this is true, it didn't work fine here (I'm currently using 1.3M1).
Could it be used to change the name of an already create document?
In this case, PCI/A/9641/07 was used as the name for a new document in
space Wetlands. PCI space wasn't created, but a PCI document in Wetlands
space. See here...
http://mire.environmentalchange.net/~webmaster/images/WetlandsBadNameDoc.png
These are the records in xwikidoc...
http://mire.environmentalchange.net/~webmaster/images/WetlandsBadNameDocRec…
Could I delete the record XWD_ID = 1457683305 solve this issue?
I'm suffering some communication problems from my current location, so
I've not searched
xwiki.org site for updateName() script. So, please,
accept my apologies if I am asking anything with an obvious answer.
Thanks!
--
Ricardo RodrĂguez
Your EPEC Network ICT Team