Fix issue in getDefaultReplicationPolicy.
Previously, under some circumstances, a ReplicationPolicy was created but was missing the optional replicationAllowed and numReplicas attributes. These are critical to the policy, so ensure they are set to sensible defaults even when property parsing errors and other issues might skip them. Added a test of this method, but I note that other methods in SystemMetadataFactory do not have unit tests and should be added if they are modified.
Add code to testArchive, testSetAccessPolicy, testSetOwner and testSetReplicationPolicy on objects whose authoritative member node is v1 or v2 MNRead.
Add a test method to test different users if they can update system metadata.
Restore the testRightsHolderExpand method on the D1NodeServiceTest.
Move the method testing to expand rights holder to CnodeServiceTest.
Add the junit test code to test the method expanding the rights holder as a group.
Since we disable the schema downloading feature, this test doesn't work anymore.
Add more test cases.
Add the code to handle the exception which is throwed when the local schema can't be found for a given namespace or format id.
Add the test methods for methods which can figure out the schema location.
View revisions
Also available in: Atom