You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "John Huss (Updated) (JIRA)" <ji...@apache.org> on 2011/12/28 19:10:30 UTC

[jira] [Updated] (CAY-1648) [PATCH] ValidationException throws format exception if error message contains percent sign

     [ https://issues.apache.org/jira/browse/CAY-1648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Huss updated CAY-1648:
---------------------------

    Attachment: validation_exception_format_patch.txt
    
> [PATCH] ValidationException throws format exception if error message contains percent sign
> ------------------------------------------------------------------------------------------
>
>                 Key: CAY-1648
>                 URL: https://issues.apache.org/jira/browse/CAY-1648
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.1M4
>            Reporter: John Huss
>            Priority: Minor
>              Labels: patch
>         Attachments: validation_exception_format_patch.txt
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> ValidationException throws a format exception if the error message contains percent sign because it gets passed to String.format without escaping any literal percent signs.  A test case is included that will illustrate the problem.

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