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

Can't use function names as a path in a string-based expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 4.1.1, 4.2.B1
    • 4.1.2, 4.2.RC1
    • Core Library
    • None

    Description

      Path like db:year causes expression parser to fail even if this is a normal DB attribute name.
      There's no workaround for this, if you need to parse expression from string.

      Fix would be to allow such names for explicit path syntax (i.e. for obj:, db:, dbid: and enum:). If needed this could be added to the simple object path as well at the cost of some performance degradation.

       

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: