Nikita Timofeev created CAY-2736:
------------------------------------

             Summary: Can't use function names as a path in a string-based 
expression
                 Key: CAY-2736
                 URL: https://issues.apache.org/jira/browse/CAY-2736
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 4.2.B1, 4.1.1
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             Fix For: 4.2.B2


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.

 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to