cayenne-commits mailing list archives

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

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