James Server
  1. James Server
  2. JAMES-940

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

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0-M1, 3.0.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Activity

        Norman Maurer created issue -
        Hide
        Stefano Bagnara added a comment -

        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)

        Show
        Stefano Bagnara added a comment - 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 )
        Hide
        Norman Maurer added a comment -

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

        Show
        Norman Maurer added a comment - You are absolutly right.. I used setDelimiterParsingDisabled(false) by mistake
        Norman Maurer made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 3.0 [ 10427 ]
        Fix Version/s 3.0-M1 [ 12314294 ]
        Mark Thomas made changes -
        Workflow jira [ 12485287 ] Default workflow, editable Closed status [ 12566418 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12566418 ] jira [ 12581820 ]

          People

          • Assignee:
            Norman Maurer
            Reporter:
            Norman Maurer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development