The issue should be logged.. Indeed this is a problem for all forms
creations.. There is not tests and the error message is pretty bad..
At least it should be "This page name already exists, please resubmit
with a different name"..
An automatic counter is a possible solution..
Also I've been thinking of adding this counter solution for automatic
naming in some cases.. there are cases where naming by the title is not
that good and naming by an id would be good..
Ludovic
Cody Burleson wrote:
I notice that you get a stack dump if you try to create a blog of the
same page name. I could create some JavaScript validation in the blog
form to reduce this, but that is not elegant. How about appending a
counter before submitting to database when pages have the same name.
Or how about using GUIDs as the key instead of the page name. anything
tro avoid getting stack dumps. Is this issue logged in JIRA yet?
==================================
Cody Burleson
IBM, Business Consulting Services
On Demand Workplaces
"Simplifying access to content, applications, people and processes."
Current Client Office (Mon - Thur): (404) 828-4583
Home Office [Friday, Sat. Sun. or email a voice message]: (214) 233.3546
Cell [anytime]: (214) 537-8783
Email: cburleso(a)us.ibm.com
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws
--
Ludovic Dubost
XPertNet:
http://www.xpertnet.fr/
Blog:
http://www.ludovic.org/blog/
XWiki:
http://www.xwiki.com
Skype: ldubost AIM: nvludo Yahoo: ludovic