You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The JSON serialization does not work for property documents. When processing properties in the dump, the following kind of error appears:
2014-04-29 16:12:04 ERROR - Failed to process JSON for property Revision 123411026 of page Property:P1251 (ns 120, id 18134330). Created at 2014-04-28T11:46:17Z by Palapa (45891) with comment "/* wbsetlabel-add:1|bs */ ABS ASCL kod". Model wikibase-property (application/json). Text length: 340 (org.json.JSONException: Wikibase property ids must have the form "P<positive integer>")
This was unnoticed since the example program did not actually process property documents at all (it registered the serializer only for items), which was fixed in #66.
The text was updated successfully, but these errors were encountered:
Seams to be a problem in the parser fnctions. The JsonException is thrown here
JSONObject jsonObject = new JSONObject(mwRevision.getText());
PropertyDocument propertyDocument = this.jsonConverter
.convertToPropertyDocument(jsonObject,
mwRevision.getTitle());
in WikibaseRevisionProcessor.processPropertyRevision(MwRevision mwRevision)
The JSON serialization does not work for property documents. When processing properties in the dump, the following kind of error appears:
This was unnoticed since the example program did not actually process property documents at all (it registered the serializer only for items), which was fixed in #66.
The text was updated successfully, but these errors were encountered: