Project

General

Profile

Bug #1857

ReplicationPolcy not persisted if only attributes are passed

Added by Robert Waltz almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Metacat
Target version:
Start date:
2011-10-13
Due date:
% Done:

100%

Milestone:
CCI-0.6.4
Product Version:
*
Story Points:
Sprint:

Description

when i set replicationPolicy in Metacat, and the replication policy in the newly created systemmetadata is something like:

the replicationAllowed and numberReplicas somehow are not persisted
therefore, when i retrieve the systemMetadata after create, the getSystemMetadata returns
in the systemMetadata just created.

History

#1 Updated by Robert Waltz almost 13 years ago

  • Assignee set to Chris Jones
  • Priority changed from Normal to High

#2 Updated by Chris Jones almost 13 years ago

  • Status changed from New to In Progress

IdentifierManager.getSystemMetadata() doesn't retrieve the replication_allowed and number_replicas attributes from postgresql when rebuilding the SystemMetadata object from the database. Adding them in.

#3 Updated by Chris Jones almost 13 years ago

  • Status changed from In Progress to Closed

Added these two attributes when building a system metadata object to be returned.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)