You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Marcel Offermans (JIRA)" <ji...@apache.org> on 2015/06/05 22:35:00 UTC
[jira] [Assigned] (ACE-518) Adding a space to tag key causes error
creating workspace
[ https://issues.apache.org/jira/browse/ACE-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Offermans reassigned ACE-518:
------------------------------------
Assignee: Marcel Offermans
Was able to reproduce this. Will add a check to the UI so we will only accept valid characters in key names.
> Adding a space to tag key causes error creating workspace
> ---------------------------------------------------------
>
> Key: ACE-518
> URL: https://issues.apache.org/jira/browse/ACE-518
> Project: ACE
> Issue Type: Bug
> Affects Versions: 2.0.1
> Reporter: Bree Van Oss
> Assignee: Marcel Offermans
> Priority: Minor
>
> 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:
> {code}
> g! ws = (cw)
> {code}
> resulted in the following error:
> {code}
> 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
> -------------------------------
> {code}
> If spaces are prohibited in tag names, the editor should enforce this restriction.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)