You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Norman Maurer (JIRA)" <se...@james.apache.org> on 2009/12/21 20:25:18 UTC

[jira] Created: (JAMES-940) Commons configuration fails on parsing values with "," in it

Commons configuration fails on parsing values with "," in it
------------------------------------------------------------

                 Key: JAMES-940
                 URL: https://issues.apache.org/jira/browse/JAMES-940
             Project: JAMES Server
          Issue Type: Bug
            Reporter: Norman Maurer
            Assignee: Norman Maurer


Currently James fail to start because commons configuration fails to parse "," within configurations values. Here is the config part which let it fail to start:
       
  <!-- If infected go to virus processor -->
         <mailet match="HasMailAttributeWithValue=org.apache.james.infected, true" class="ToProcessor">
            <processor> virus </processor>
         </mailet>

After commenting or remove this james start without problems

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Commented: (JAMES-940) Commons configuration fails on parsing values with "," in it

Posted by "Stefano Bagnara (JIRA)" <se...@james.apache.org>.
    [ https://issues.apache.org/jira/browse/JAMES-940?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793311#action_12793311 ] 

Stefano Bagnara commented on JAMES-940:
---------------------------------------

Haven't looked at the code, but I guess this has something to do with  Configuration.setDelimiterParsingDisabled.

http://commons.apache.org/configuration/apidocs/org/apache/commons/configuration/AbstractConfiguration.html#setDelimiterParsingDisabled(boolean)


> Commons configuration fails on parsing values with "," in it
> ------------------------------------------------------------
>
>                 Key: JAMES-940
>                 URL: https://issues.apache.org/jira/browse/JAMES-940
>             Project: JAMES Server
>          Issue Type: Bug
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>
> Currently James fail to start because commons configuration fails to parse "," within configurations values. Here is the config part which let it fail to start:
>        
>   <!-- If infected go to virus processor -->
>          <mailet match="HasMailAttributeWithValue=org.apache.james.infected, true" class="ToProcessor">
>             <processor> virus </processor>
>          </mailet>
> After commenting or remove this james start without problems

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


[jira] Resolved: (JAMES-940) Commons configuration fails on parsing values with "," in it

Posted by "Norman Maurer (JIRA)" <se...@james.apache.org>.
     [ https://issues.apache.org/jira/browse/JAMES-940?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Norman Maurer resolved JAMES-940.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0-M1
                   3.0

You are absolutly right.. I used setDelimiterParsingDisabled(false) by mistake ;)

> Commons configuration fails on parsing values with "," in it
> ------------------------------------------------------------
>
>                 Key: JAMES-940
>                 URL: https://issues.apache.org/jira/browse/JAMES-940
>             Project: JAMES Server
>          Issue Type: Bug
>            Reporter: Norman Maurer
>            Assignee: Norman Maurer
>             Fix For: 3.0, 3.0-M1
>
>
> Currently James fail to start because commons configuration fails to parse "," within configurations values. Here is the config part which let it fail to start:
>        
>   <!-- If infected go to virus processor -->
>          <mailet match="HasMailAttributeWithValue=org.apache.james.infected, true" class="ToProcessor">
>             <processor> virus </processor>
>          </mailet>
> After commenting or remove this james start without problems

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org