Migrating items that use additional metadata schemas causes an NPE
------------------------------------------------------------------

                 Key: DS-216
                 URL: http://jira.dspace.org/jira/browse/DS-216
             Project: DSpace 1.x
          Issue Type: Bug
          Components: DSpace API
    Affects Versions: 1.5.2
            Reporter: Stuart Lewis
             Fix For: 1.6.0
         Attachments: 
Migrating_items_that_use_additional_metadata_schemas_causes_an_NPE.patch

When using the exporter, if you select the 'migrate' option, it will strip out 
most dates and the handle etc.

dc.date.issued is kept if it is different to dc.date.accessioned.

However, the exporter tries to compare *.date.issued with *.date.accessioned. 
If other metadata schemas do not include date.issued and date.accessioned, an 
NPE is thrown.

Patch attached.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.dspace.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to