Actions
Bug #2002
closedAPI: export_database doesn't export correct json
Start date:
2023-04-10
Estimated time:
Found in version:
Description
http://localhost:8080/api/0.3/export_database/json exports a mixed json and python dict.
Only is correct labels of first level: "entities", "links", "properties", "geometries". Te content of each section is a python dict not converted to json format
{"entities": "[{'id': 1, 'cidoc_class_code': 'E55', 'name': 'Bibliography', 'description': 'Categories for bibliographical entries as used for example in BibTeX, e.g. Book, Inbook, Article etc.', 'created': datetime.datetime(2023, 4, 9, 10, 21, 15, 740843), 'modified': None,
Anyway, you're doing a great job and API. Congratulations. Enric Rodellas
Updated by Alexander Watzinger over 1 year ago
- Target version set to 7.15.0
- Found in version set to 7.12.0
- Category set to API
- Status changed from New to Assigned
- Assignee set to Bernhard Koschiček-Krombholz
Updated by Bernhard Koschiček-Krombholz over 1 year ago
- Status changed from Assigned to Closed
Thank you very much Enric for reporting this issue and for the nice comment on the API.
I fixed the issue. It is in the develop branch.
Updated by Alexander Watzinger over 1 year ago
- Subject changed from API export_database doesn't export correct json to API: export_database doesn't export correct json
Updated by Alexander Watzinger over 1 year ago
- Target version changed from 7.15.0 to 7.13.0
Actions