You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Willem Jiang (Created) (JIRA)" <ji...@apache.org> on 2012/02/08 03:14:59 UTC

[jira] [Created] (CAMEL-4990) SimpleExpression should trim the string before parsing

SimpleExpression should trim the string before parsing 
-------------------------------------------------------

                 Key: CAMEL-4990
                 URL: https://issues.apache.org/jira/browse/CAMEL-4990
             Project: Camel
          Issue Type: Bug
          Components: camel-core
    Affects Versions: 2.9.0
            Reporter: Willem Jiang
            Assignee: Willem Jiang
             Fix For: 2.9.1, 2.10.0


The expression could has "\r", "\n" character at the begin or end.
We should trim the expression before parsing it.
Here is the mail thread[1] which talks about it.

[1]http://camel.465427.n5.nabble.com/Please-consider-to-trim-simple-expressions-before-parsing-tt5455143.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CAMEL-4990) SimpleExpression should trim the string before parsing

Posted by "Claus Ibsen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen updated CAMEL-4990:
-------------------------------

      Priority: Minor  (was: Major)
    Issue Type: Improvement  (was: Bug)

Willem can you add a note about this change in the release notes?
                
> SimpleExpression should trim the string before parsing 
> -------------------------------------------------------
>
>                 Key: CAMEL-4990
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4990
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.9.1, 2.10.0
>
>
> The expression could has "\r", "\n" character at the begin or end.
> We should trim the expression before parsing it.
> Here is the mail thread[1] which talks about it.
> [1]http://camel.465427.n5.nabble.com/Please-consider-to-trim-simple-expressions-before-parsing-tt5455143.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CAMEL-4990) SimpleExpression should trim the string before parsing

Posted by "Willem Jiang (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAMEL-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Willem Jiang resolved CAMEL-4990.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.8.5

Applied the patch into trunk, camel-2.9.x and camel-2.8.x branches.
                
> SimpleExpression should trim the string before parsing 
> -------------------------------------------------------
>
>                 Key: CAMEL-4990
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4990
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.9.0
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>            Priority: Minor
>             Fix For: 2.8.5, 2.9.1, 2.10.0
>
>
> The expression could has "\r", "\n" character at the begin or end.
> We should trim the expression before parsing it.
> Here is the mail thread[1] which talks about it.
> [1]http://camel.465427.n5.nabble.com/Please-consider-to-trim-simple-expressions-before-parsing-tt5455143.html

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira