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

Nikita Timofeev closed CAY-2789.
--------------------------------
    Resolution: Fixed

*4.2*: 
https://github.com/apache/cayenne/commit/ca04d2bd2d49d338b701dbf3005c8b34372ed508
*5.0*: https://github.com/apache/cayenne/pull/557

> MalformedJsonException thrown when reading manually edited JSON data in 
> Postgres
> --------------------------------------------------------------------------------
>
>                 Key: CAY-2789
>                 URL: https://issues.apache.org/jira/browse/CAY-2789
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Database integration
>    Affects Versions: 4.2.RC2, 4.2.M3, 4.2.B1, 4.2.RC1
>         Environment: PostgreSQL 15
> Windows 10
> Cayenne 4.2.RC2
> IntelliJ IDEA 2022.3
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>             Fix For: 4.2, 5.0.M1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Encountered this exception while modifying JSON data in the DB:
> {{org.apache.cayenne.value.json.MalformedJsonException: Unexpected end of 
> document}}
> The data in question is simple test JSON like this:
> {code}
> {"test": "some value"} 
> {code}
> Same exact data that is inserted via java code is totally fine.
> I suspect that it could be Windows related, but need to check.



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

Reply via email to