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 2025/04/16 12:39:00 UTC

[jira] [Updated] (CAY-2887) Expressions: Incorrect serialization to string of numeric literals

     [ https://issues.apache.org/jira/browse/CAY-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Timofeev updated CAY-2887:
---------------------------------
    Summary: Expressions: Incorrect serialization to string of numeric literals  (was: Expressions: keep exact numerical literals when serializing to string)

> Expressions: Incorrect serialization to string of numeric literals
> ------------------------------------------------------------------
>
>                 Key: CAY-2887
>                 URL: https://issues.apache.org/jira/browse/CAY-2887
>             Project: Cayenne
>          Issue Type: Bug
>    Affects Versions: 4.1.1, 4.2.2, 5.0-M1
>            Reporter: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2.3, 5.0-M2
>
>
> Expressions like this {{attribute = 1L}} are serialized to string loosing exact numerical literal type, i.e. it becomes {{attribute = 1}}. 
> This could be a problem when it is used in a qualifier as Modeler converts expressions to string for saving.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)