-
-
Notifications
You must be signed in to change notification settings - Fork 91
Closed
Description
in tnis part of the Serializer ISerializeToJsonSummary is looked up. the problem for me with the default implementation is that it only serializes the absolute_url in the json response, not the UID()
This is probably fine for the volto frontend.. But on deserialisation it has to do a restrictedtraverse to the target item, and it has the full url with the website domain embedded in the id. I am trying to add support for restoring relationValues better in collecfive. importexport and the UID is much better suited there.
The funny thing is that the deserializer already supports just uids and relative paths from the site root in the id key.
| (value.to_object, getRequest()), ISerializeToJsonSummary |
@sneridagh @avoinea may I ask your advice? just add it to the ISerializeToJsonSummary ?
Metadata
Metadata
Assignees
Labels
No labels