cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Singer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAY-2081) Parsing certain invalid expression strings triggers incorrect exceptions
Date Mon, 18 Apr 2016 09:42:25 GMT
Joshua Singer created CAY-2081:
----------------------------------

             Summary: Parsing certain invalid expression strings triggers incorrect exceptions
                 Key: CAY-2081
                 URL: https://issues.apache.org/jira/browse/CAY-2081
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 3.1
            Reporter: Joshua Singer
            Priority: Minor


Very simple bug:

Expression.fromString("name like %32_65415'");

This throws

java.util.UnknownFormatConversionException: Conversion = '"'

which happens during the format method used in the initialization of an ExpressionException.


But actually, I would argue this ExpressionException initialization should succeed.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message