JSON String deserialisation of Datetime objects fails with Python 2.7

Bug #1306483 reported by Carina Haupt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
DataFinder
New
Undecided
Unassigned

Bug Description

When with Python 2.7 a JSON String is deserialised in DataFinder, the Datetime object does not get deserialised. Reason is a hard coded False paramter in the DatetimeJsonDecoder which restricts the DatetimeObjectHook to not handle dictionaries. But the JSONDecoder which is called before the DatetimeJsonDecoder returns a dictionary. Therewith the Datetime objects are not handled.
The error is in /src/datafinder/persistence/metadata/value_mapping/json_format.py

This problem occurs for example when you use a SVN repository and try to look at the properties of a file using the context menu.

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.