Uploaded image for project: 'ACE'
  1. ACE
  2. ACE-518

Adding a space to tag key causes error creating workspace

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0.1
    • 2.1.0
    • None
    • None

    Description

      An ACE user accidentally added a space character to a tag name associated with a Target, via the ACE UI. This resulted in the inability to login to the ACE UI.

      While investigating I found that via the Gogo shell, I could not create a workspace. The command:

      g! ws = (cw)
      

      resulted in the following error:

      gogo: ConversionException: com.thoughtworks.xstream.io.StreamException:  : expected = after attribute name (position: TEXT seen ...<tags>\n        <monitoring FrequencyInSeconds>... @126:40)
      ---- Debugging information ----
      message             : com.thoughtworks.xstream.io.StreamException:  : expected = after attribute name (position: TEXT seen ...<tags>\n        <monitoring FrequencyInSeconds>... @126:40)
      cause-exception     : java.lang.IllegalArgumentException
      cause-message       : com.thoughtworks.xstream.io.StreamException:  : expected = after attribute name (position: TEXT seen ...<tags>\n        <monitoring FrequencyInSeconds>... @126:40)
      class               : org.apache.ace.client.repository.impl.RepositorySerializer
      required-type       : org.apache.ace.client.repository.impl.RepositorySerializer
      path                : /repository/targets/target[10]/tags
      line number         : 126
      -------------------------------
      

      If spaces are prohibited in tag names, the editor should enforce this restriction.

      Attachments

        Activity

          People

            marrs Marcel Offermans
            breevo Bree Van Oss
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: