Project

General

Profile

Bug #1367

MetacatPoplulator inserts SystemMetadata document as a data document when create fails

Added by Chad Berkley about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Milestone:
Product Version:
*
Story Points:
Sprint:

History

#1 Updated by Chad Berkley about 13 years ago

  • Assignee set to Chris Jones

The metacatPopulator creates a document then sets the access to that document to public on line 206. Something is failing in create which is causing the SystemMetadata doc to get inserted as the object doc itself. This needs to be fixed. Also, if create fails in some way, the setAccess call does not get made. Create needs to be made an atomic call so that any failure results in no documents being inserted.

#2 Updated by Dave Vieglais about 13 years ago

  • Position set to 66
  • Target version set to Sprint-2011.09-Block.2
  • Position deleted (21)

#3 Updated by Chris Jones about 13 years ago

  • Status changed from New to In Progress

#4 Updated by Dave Vieglais about 13 years ago

  • Position set to 9
  • Target version changed from Sprint-2011.09-Block.2 to Sprint-2011.10-Block.2
  • Position deleted (66)

#5 Updated by Dave Vieglais about 13 years ago

  • Position deleted (9)
  • Position changed from 1 to 169
  • Position set to 1

#6 Updated by Chris Jones about 13 years ago

  • Status changed from In Progress to Closed

I've exercised MetacatPopulator and have loaded close to 2000 documents to my local metacat installation. All documents that were loaded were the correct type (i.e. an EML document coming from the source was loaded as the same EML into the target). So, without being able to replicate the issue, I'll set this to closed.

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)