cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikita Timofeev (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CAY-2081) Parsing certain invalid expression strings triggers incorrect exceptions
Date Wed, 25 Jan 2017 10:20:26 GMT

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

Nikita Timofeev closed CAY-2081.
--------------------------------
       Resolution: Fixed
         Assignee: Nikita Timofeev
    Fix Version/s: 4.0.M5

> 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
>            Assignee: Nikita Timofeev
>            Priority: Minor
>             Fix For: 4.0.M5
>
>
> 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