invalid json errors. ensure its a json object

Bug #999569 reported by Eric Casteleijn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
U1DB
Fix Released
High
Eric Casteleijn

Bug Description

When putting data that is not parseable as JSON, we need to decide whether we reject it, or store it as an binary blob.

Related branches

summary: - invalid json errors. put_blob for not json data?
+ invalid json errors. ensure its a json object
Revision history for this message
John A Meinel (jameinel) wrote :

We decided that the top-level object is going to be a JSON object (not a list), and not a binary blob.
We should update the test suite so that this is always enforced, especially regardless of whether indexes are defined or not.

Changed in u1db:
importance: Undecided → High
milestone: none → pre-release
status: New → Confirmed
Changed in u1db:
status: Confirmed → In Progress
assignee: nobody → Eric Casteleijn (thisfred)
Changed in u1db:
status: In Progress → Fix Committed
Changed in u1db:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.