Project

General

Profile

Bug #5825

Call CN.setReplicationPolicy() when editing replication policy

Added by ben leinfelder over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Category:
morpho - general
Target version:
Start date:
01/25/2013
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5825

Description

This should act the same as the access policy edits. For network packages, we call the CN.setReplicationPolicy() and only save the SM locally if that was successful. Otherwise we tell the user to wait for the CN to synch with the MN.
If the package is local-only, then we can just save the SM locally.

History

#1 Updated by ben leinfelder over 7 years ago

Now calling the CN for changes to the EML ReplicationPolicy. Note that Morpho calls the CN first to retrieve the latest serialVersion of the SM in order to make a successful call, but it does not do any other sort of merging of the two versions (local/cn) of SystemMetadata.ReplicationPolicy.

#2 Updated by ben leinfelder over 7 years ago

Now doing the same for data objects.

#3 Updated by Redmine Admin about 7 years ago

Original Bugzilla ID was 5825

Also available in: Atom PDF