Community
Participate
Working Groups
When serializing all attributes of a EAnnotation into CreateDeleteOperation#getEObjectToIdMap(), deserialization fails for the details map of the source attribute. That is because the source attribute contains a URI, which will be used to reference its details map. But since a URI contains forward slashes, which are also used for referencing the EObjects within the serialized file, the URI will be escaped. When trying to deserialize CreateDeleteOperation#getEObjectToIdMap() again, the the map contains null keys for all objects, that were referenced via the source's URI. One possible solution, which is also used at the moment, is to encode the source attribute via: annotation.setSource(URLEncoder.encode(annotation.getSource()) but then one also has to pay attention to decode the URI at the appropriate places.
removed custom code