Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 1.3.6
-
Fix Version/s: 1.4.1
-
Component/s: None
-
Labels:
-
Complexity:Intermediate
-
Number of attachments :
Description
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.
While it hasn't been escaped directly, input of the quotes in a name were prevented as part of the validation for
CONTINUUM-2620