Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2081

Parsing certain invalid expression strings triggers incorrect exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.1
    • 4.0.M5
    • Core Library
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ntimofeev Nikita Timofeev
              josh.singer@glasgow.ac.uk Joshua Singer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: