collective.exportimport icon indicating copy to clipboard operation
collective.exportimport copied to clipboard

plone.formwidget.geolocation.geolocation.Geolocation: No converter for making ....JSON compatible

Open zopyx opened this issue 4 years ago • 1 comments

Not a bug, perhaps a feature request for supporting plone.formwidget.geolocation.geolocation.Geolocation:

2021-12-11 18:05:41,976 INFO    [collective.exportimport.export_content:299][waitress-2] Error exporting https://test.dynamore.de/en/locations/subsidiaries/dynamore-swiss-en: No converter for making <plone.formwidget.geolocation.geolocation.Geolocation object at 0x7fed111cff28> (<class 'plone.formwidget.geolocation.geolocation.Geolocation'>) JSON compatible

zopyx avatar Dec 11 '21 17:12 zopyx

https://github.com/collective/plone.formwidget.geolocation/pull/32/commits/c497731ad27ed8a7620ff259fa5a8768d76fd0a3

This commit add a deserializer. Here the serializer but you need plone.restapi installed https://github.com/collective/plone.formwidget.geolocation/blob/31bb1969ba2fe0c6710c7af9f6303733fc857f59/plone/formwidget/geolocation/serializer.py

yurj avatar Dec 11 '21 17:12 yurj