Salome HOME
Integration of ISR fixes:
[tools/siman.git] / Workspace / Siman-Common / src / org / splat / service / PublicationServiceImpl.java
index 119a4fc29bde714727feda9f0152f9cd410a6fc6..a901160ce2db1139905cd1dd7e48963c42cf04af 100644 (file)
@@ -271,7 +271,8 @@ public class PublicationServiceImpl implements PublicationService {
                // TODO: Remove current document details from the contents of open study
 
                // Creation of uses relations
-               updateRelations(current, next, docuses, docusedby);
+               Publication syncronizedCurrent = _publicationDAO.get(current.getIndex());
+               updateRelations(syncronizedCurrent, next, docuses, docusedby);
        }
 
        /**