Project

General

Profile

Task #7798

Story #3944: DataONE Python products

GMN: Update dateSysMetadataModified in the database when object is archived

Added by Roger Dahl over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
2016-05-10
Due date:
% Done:

100%

Story Points:
Sprint:

Description

When MNStorage.archive() is called on an object in GMN, the system metadata modified time is not updated in the database, which causes the change of archived status to go undetected by CNs.

The system metadata modified time is correctly updated in the filesystem. The archive status and new access policies are also correctly updated both on the filesystem object and in the database.

Also add integration check that verifies that sysmeta modified date is correctly updated to the current time and that it causes the object to appear in listObjects() results filtered by the current time.

History

#1 Updated by Roger Dahl over 8 years ago

  • Description updated (diff)

#2 Updated by Roger Dahl almost 6 years ago

  • % Done changed from 0 to 100
  • Status changed from New to Closed

Fixed and tested.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)