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 2023/01/12 10:03:00 UTC

[jira] [Updated] (CAY-2789) MalformedJsonException thrown when reading manually edited JSON data in Postgres

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

Nikita Timofeev updated CAY-2789:
---------------------------------
    Environment: 
PostgreSQL 15
Windows 10
Cayenne 4.2.RC2
IntelliJ IDEA 2022.3

  was:
PostgreSQL 15
Windows 10
Cayenne 4.2.RC2


> 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
>
>
> 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)