You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bval.apache.org by "Carlos Vara (JIRA)" <ji...@apache.org> on 2010/04/22 11:21:49 UTC

[jira] Created: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Incorrect output or IOBException when interpolating messages when annotation values have $ or \
-----------------------------------------------------------------------------------------------

                 Key: BVAL-22
                 URL: https://issues.apache.org/jira/browse/BVAL-22
             Project: BeanValidation
          Issue Type: Bug
          Components: jsr303
    Affects Versions: 0.1-incubating
            Reporter: Carlos Vara


Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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


[jira] Resolved: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Posted by "Roman Stumm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Stumm resolved BVAL-22.
-----------------------------

    Fix Version/s: 0.1-incubating
       Resolution: Fixed

> Incorrect output or IOBException when interpolating messages when annotation values have $ or \
> -----------------------------------------------------------------------------------------------
>
>                 Key: BVAL-22
>                 URL: https://issues.apache.org/jira/browse/BVAL-22
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>            Assignee: Roman Stumm
>             Fix For: 0.1-incubating
>
>         Attachments: InterpolateSpecialChars.patch
>
>
> Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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


[jira] Updated: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Posted by "Carlos Vara (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Vara updated BVAL-22:
----------------------------

    Attachment: InterpolateSpecialChars.patch

Sorry, I attached the wrong patch, this is the correct one.

> Incorrect output or IOBException when interpolating messages when annotation values have $ or \
> -----------------------------------------------------------------------------------------------
>
>                 Key: BVAL-22
>                 URL: https://issues.apache.org/jira/browse/BVAL-22
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>         Attachments: InterpolateSpecialChars.patch
>
>
> Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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


[jira] Assigned: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Posted by "Roman Stumm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Roman Stumm reassigned BVAL-22:
-------------------------------

    Assignee: Roman Stumm

> Incorrect output or IOBException when interpolating messages when annotation values have $ or \
> -----------------------------------------------------------------------------------------------
>
>                 Key: BVAL-22
>                 URL: https://issues.apache.org/jira/browse/BVAL-22
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>            Assignee: Roman Stumm
>         Attachments: InterpolateSpecialChars.patch
>
>
> Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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


[jira] Updated: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Posted by "Carlos Vara (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Vara updated BVAL-22:
----------------------------

    Attachment: DefaultMessageInterpolator.patch

Patch that escapes the characters and additional unit test to check it.

3 more tests pass.

> Incorrect output or IOBException when interpolating messages when annotation values have $ or \
> -----------------------------------------------------------------------------------------------
>
>                 Key: BVAL-22
>                 URL: https://issues.apache.org/jira/browse/BVAL-22
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>         Attachments: InterpolateSpecialChars.patch
>
>
> Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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


[jira] Work started: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Posted by "Roman Stumm (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on BVAL-22 started by Roman Stumm.

> Incorrect output or IOBException when interpolating messages when annotation values have $ or \
> -----------------------------------------------------------------------------------------------
>
>                 Key: BVAL-22
>                 URL: https://issues.apache.org/jira/browse/BVAL-22
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>            Assignee: Roman Stumm
>         Attachments: InterpolateSpecialChars.patch
>
>
> Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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


[jira] Updated: (BVAL-22) Incorrect output or IOBException when interpolating messages when annotation values have $ or \

Posted by "Carlos Vara (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/BVAL-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carlos Vara updated BVAL-22:
----------------------------

    Attachment:     (was: DefaultMessageInterpolator.patch)

> Incorrect output or IOBException when interpolating messages when annotation values have $ or \
> -----------------------------------------------------------------------------------------------
>
>                 Key: BVAL-22
>                 URL: https://issues.apache.org/jira/browse/BVAL-22
>             Project: BeanValidation
>          Issue Type: Bug
>          Components: jsr303
>    Affects Versions: 0.1-incubating
>            Reporter: Carlos Vara
>         Attachments: InterpolateSpecialChars.patch
>
>
> Calls to Matcher#appendReplacement() in DefaultMessageInterpolator must escape the '\' and '$' characters.

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