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/10/28 10:55:00 UTC
[jira] [Closed] (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 closed CAY-2887.
--------------------------------
Resolution: Fixed
*4.2*: https://github.com/apache/cayenne/commit/cd58cdd2c6dd44b33215a07411aba0ac9bbfc15d
*5.0*: https://github.com/apache/cayenne/commit/85dca2fda5787239bec80f68fae108f29e7106f2
> 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)