Continuum
  1. Continuum
  2. CONTINUUM-2500

Problems with quotation marks in projectgroup names

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.3.6
    • Fix Version/s: 1.4.1
    • Component/s: None
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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.

        Activity

        Hide
        Brett Porter added a comment -

        While it hasn't been escaped directly, input of the quotes in a name were prevented as part of the validation for CONTINUUM-2620

        Show
        Brett Porter added a comment - While it hasn't been escaped directly, input of the quotes in a name were prevented as part of the validation for CONTINUUM-2620

          People

          • Assignee:
            Brett Porter
            Reporter:
            Reimer Prochnow
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: