You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Joshua Singer (JIRA)" <ji...@apache.org> on 2016/04/18 11:42:25 UTC

[jira] [Created] (CAY-2081) Parsing certain invalid expression strings triggers incorrect exceptions

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)