diff options
author | Tor Lillqvist <tml@collabora.com> | 2021-01-14 23:50:39 +0200 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-01-27 20:44:39 +0100 |
commit | a845ba982c742d9a4b9b427ea38b96a0f5989ad4 (patch) | |
tree | 7c6908061ae9e867a5f628e6f4729cc26f13d717 /solenv/bin/modules/installer/download.pm | |
parent | 59ff6a79475bdf48765a16cf5f597757466a2748 (diff) |
Fix errors in produced JSON introduced with the switch to JsonWriter
GetRedlineAuthorInfo() should produce a JSON array and not an object
with empty strings as keys, which is incorrect JSON. The code in
Collabora Online expects an array, see Document::getViewColors() in
kit/Kit.cpp.
Producing the wrong kind of data leads to Poco throwing an exception:
Assertion violation: !_key.empty() [in file "src/ParseHandler.cpp", line 64]
Also SwXTextDocument::getPostIts() should produce a JSON array.
Change-Id: I1ab0653ca1eaa3c466d31b1f068ba5937a04e43e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109316
Tested-by: Jenkins
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109475
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'solenv/bin/modules/installer/download.pm')
0 files changed, 0 insertions, 0 deletions