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:01:00 UTC

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

Nikita Timofeev created CAY-2789:
------------------------------------

             Summary: 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.RC1, 4.2.B1, 4.2.M3, 4.2.RC2
         Environment: PostgreSQL 15
Windows 10
Cayenne 4.2.RC2
            Reporter: Nikita Timofeev
            Assignee: Nikita Timofeev
             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)