Project

General

Profile

Actions

Bug #7160

closed

replicationPolicy missing numberReplicas and replicationAllowed attributes

Added by Matt Jones about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
metacat
Target version:
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().

Actions #1

Updated by Matt Jones about 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

Also available in: Atom PDF