You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (JIRA)" <ji...@apache.org> on 2017/01/25 10:20:26 UTC
[jira] [Closed] (CAY-2081) Parsing certain invalid expression
strings triggers incorrect exceptions
[ 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)