zotonic
zotonic copied to clipboard
The id is not included in the common_properties of a resource.
When looking at the export routines I saw that the id was not included in the common_properties of a resource. Is this an omission, or is there a reason behind that?
I think the idea here is that the export could be used directly as the import on another system.
As the id
is a local number that should then be removed.
I can't think of another reason.
In fact - the importing system should sanitize its input anyway and prevent having the id
in the update.
So I don't see a valid reason to not have the (local) id
in the exported data.