Project

General

Profile

« Previous | Next » 

Revision 6036

Added by Matt Jones about 13 years ago

MOdified MetacatHandler to catch cases where ObjectFormat is not being set properly on data files when
generating SystemMetadata. When the EML document contains a format for an entity that maps to a null
type in ObjectFormat.convert(), then the type ends up being null and an error is generated on insertion
of the system metadata. This was causing two tests under AuthControlTest to fail, which should now pass.
The long-term fix is much better handling of ObjectFormat assignments, which is a work in progress under
https://redmine.dataone.org/issues/1378 .

  • added
  • modified
  • copied
  • renamed
  • deleted