Issue Details (XML | Word | Printable)

Key: CONF-9609
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Paul Curren [Atlassian]
Reporter: Guy Fraser [Adaptavist.com]
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Confluence

Space key with "-" (hyphen) thows exception

Created: 01/Oct/07 06:47 PM   Updated: 07/Jan/08 10:09 PM
Component/s: Logging & Auditing, Spaces, Usability
Affects Version/s: 2.6.0
Fix Version/s: 2.7.1, 2.8

Time Tracking:
Not Specified

Environment:
WebSphere
(maybe other appservers. Not tomcat)

Participants: Andrew Lynch [Atlassian], Don Willis [Atlassian], Guy Fraser [Adaptavist.com], Matt Ryall [Atlassian] and Paul Curren [Atlassian]
Since last comment: 41 weeks, 6 days ago
Internal Complexity: 1
Resolution Date: 07/Jan/08 10:09 PM
Internal Value: 5
Labels:


 Description  « Hide
When I try creating a space where the space key has a hypen (eg. "foo-bar") instead of getting a friendly "invalid character" message I get a whopping great exception.

It would be nice if:

a) I got a more friendly error message

and

b) If you showed illegal (or inversely, allowed) chars below the space key field so that users know in advance what cannot or can be used.



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Matt Ryall [Atlassian] added a comment - 04/Oct/07 08:52 PM
Thanks for reporting this, Guy.

Andrew Lynch [Atlassian] added a comment - 09/Oct/07 09:21 PM
Guy, I am unable to reproduce this behavior. Are you sure this is occurring in version 2.6.0?
If so, could you please attach a screenshot / log file?

Guy Fraser [Adaptavist.com] added a comment - 10/Oct/07 10:06 AM
I'm unable to test with 2.6.0 at present due to the serious "anonymous creator" bug with new spaces.

Andrew Lynch [Atlassian] added a comment - 10/Oct/07 07:24 PM
The "anonymous creator" issue should be resolved in 2.6.1.

What version were you using when you encountered this exception creating spaces?


Guy Fraser [Adaptavist.com] added a comment - 10/Oct/07 07:27 PM
2.6.0 but I've since gone back to using 2.6-dr1

Andrew Lynch [Atlassian] added a comment - 10/Oct/07 07:44 PM
Could you please attach a screenshot and / or log file?

Guy Fraser [Adaptavist.com] added a comment - 10/Oct/07 07:58 PM
Not easily - it was on Sun Microsystem's server for their CEC 2007 conference and the anonymous space creator bug is a major show-stopper for them (so they won't go back to 2.6.0)

Guy Fraser [Adaptavist.com] added a comment - 10/Oct/07 07:59 PM
I'll grab the exception if I see it happening on any other instance... In fact, Alain might have a 2.6.0 installed... Let me check...

Andrew Lynch [Atlassian] added a comment - 21/Oct/07 08:57 PM - edited
Any news on this matter Guy? Is there a chance it was an isolated incident?

Paul Curren [Atlassian] added a comment - 04/Nov/07 07:36 PM
Guy,

i've closed this off for now because we can't reproduce and can't really see how it could have occurred.

However, please do re-open if you are able to get some more information about the problem.

Thanks.


Don Willis [Atlassian] added a comment - 10/Dec/07 07:05 PM
Andrew and I reproduced this on 2.7-rc1 using Websphere. The CreateSpaceAction.validate() method seems to be completely bypassed. How is a complete mystery to us so far.

Don Willis [Atlassian] added a comment - 18/Dec/07 12:57 AM
This issue, and a couple of other problems with missing calls to validate(), are cause through the magic of xwork to be caused by http://developer.atlassian.com/jira/browse/MARK-51.

Don Willis [Atlassian] added a comment - 18/Dec/07 07:47 PM
Fixed by upgrading to social bookmarking plugin version 1.0.7, which contains the fix for http://developer.atlassian.com/jira/browse/MARK-51

Another symptom of the bug is that trying importing a mailbox into a space will result in a NullPointerException.