Actions
Bug #7160
closedreplicationPolicy missing numberReplicas and replicationAllowed attributes
Start date:
11/22/2016
Due date:
% Done:
100%
Estimated time:
Bugzilla-Id:
Description
While technically optional, the ReplicationPolicy class in SystemMetadata is not useful without the replicationAllowed and numberReplicas attributes. We encountered a bug in the R client where the parser assumed those would be present (https://github.com/ropensci/datapack/issues/63). We fixed that client side, but it would also be useful to have Metacat generate ReplicationPolicy instances with these attributes set. This is handled in SystemMetadataFactory.getDefaultReplicationPolicy().
Updated by Matt Jones almost 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
Fixed by setting replicationAllowed=false and numberReplicas=0 if they aren't set explicitly.
Actions