[infinispan-issues] [JBoss JIRA] (ISPN-4425) Validate format for comparison operands (non-indexed query)

Adrian Nistor (JIRA) issues at jboss.org
Fri Jun 20 10:16:28 EDT 2014


Adrian Nistor created ISPN-4425:
-----------------------------------

             Summary: Validate format for comparison operands (non-indexed query)
                 Key: ISPN-4425
                 URL: https://issues.jboss.org/browse/ISPN-4425
             Project: Infinispan
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: Embedded Querying
    Affects Versions: 7.0.0.Alpha4
            Reporter: Adrian Nistor
            Assignee: Adrian Nistor
             Fix For: 7.0.0.Alpha5


The operands need to have valid format (eg. number) and a proper parsing exception with a descriptive message needs to be thrown otherwise. Currently we just see a NumberFormatException being thrown from the ObjectPropertyHelper.convertToPropertyType().

This is not just for numbers, other primitives too.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list