cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Huss (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAY-1648) [PATCH] ValidationException throws format exception if error message contains percent sign
Date Wed, 28 Dec 2011 18:10:30 GMT

     [ 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

        

Mime
View raw message