Problems with quotation marks in projectgroup names
---------------------------------------------------

                 Key: CONTINUUM-2500
                 URL: http://jira.codehaus.org/browse/CONTINUUM-2500
             Project: Continuum
          Issue Type: Bug
    Affects Versions: 1.3.6
            Reporter: Reimer Prochnow
            Priority: Trivial


A project group can be renamed to a name containing one or more quotation 
marks, e.g. 'my project ("release 11")'
Projects inside this group will fail building with an error:

[INFO] Invalid task '11)': you must specify a valid lifecycle phase, or a goal 
in the format plugin:goal or pluginGroupId:pluginArtifactId:pluginVersion:goal

This looks like a problem with spaces, but the former name contained spaces 
without error.

The project group cannot be renamed, the GUI reports:
org.jpox.store.rdbms.query.JDOQLQuery$Compiler$ExpressionSyntaxException: ')' 
expected at character 39 in "this.roleNames.contains("my project ("Release 
11")")"

So any '"' should be escaped somehow.
This error is not reported in any logfile.
You can correct this problem in the database by changing the PROJECTGROUP.NAME 
back to the old one.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to