maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SebbASF (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MCHANGES-254) Example doesn't work - spaces not allowed in statusIds and resolutionIds after a comma
Date Sat, 04 Jun 2011 14:31:22 GMT
Example doesn't work - spaces not allowed in statusIds and resolutionIds after a comma
--------------------------------------------------------------------------------------

                 Key: MCHANGES-254
                 URL: http://jira.codehaus.org/browse/MCHANGES-254
             Project: Maven 2.x Changes Plugin
          Issue Type: Bug
          Components: jira
    Affects Versions: 2.5
         Environment: http://maven.apache.org/plugins/maven-changes-plugin/examples/customizing-jira-report.html
            Reporter: SebbASF


http://maven.apache.org/plugins/maven-changes-plugin/examples/customizing-jira-report.html#Using_Maven_syntax

gives the following examples:

{quote}
        <configuration>
          <resolutionIds>Closed</resolutionIds>
          <statusIds>Resolved, Closed</statusIds>
          <typeIds>Bug, New Feature, Improvement, Wish</typeIds>
        </configuration>
{quote}

However, spaces are not always allowed, they can cause the field to be ignored.

<statusIds>Resolved,Closed</statusIds> - OK
<statusIds> Resolved,Closed</statusIds> - OK
<statusIds>Resolved,Closed </statusIds> - OK
<statusIds> Resolved,Closed </statusIds> - OK

<statusIds>Resolved, Closed</statusIds> - Closed is ignored
<statusIds> Resolved, Closed</statusIds> - Closed is ignored
<statusIds> Resolved, Closed </statusIds> - Closed is ignored

In particular, the example from the web page does not work.

Note that the typeIds field does appear to allow leading space after a comma.
The resolutionIds field does not.

Since spaces are sometimes allowed, may I suggest the code is fixed rather than the documentation?

-- 
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

        

Mime
View raw message