OAI RDF crosswalk fails when DC value is null
---------------------------------------------

                 Key: DS-193
                 URL: http://jira.dspace.org/jira/browse/DS-193
             Project: DSpace 1.x
          Issue Type: Bug
          Components: DSpace API
    Affects Versions: 1.5.1, 1.5.0, 1.5.2
         Environment: Linux, Oracle DB (but platform and DB are not relevant to 
the problem)
            Reporter: Larry Stone
         Attachments: d

When a MetadataValue.value is null for one of the DC fields crosswalked into 
RDF, the OAI crosswalk fails with a NullPointerException.  The patch below 
fixes the problem.  It's not clear if the null value is itself pathological, 
but the database allows it and there were several Items in our test DSpace with 
null metadata fields values, so it is a possibility that the code should handle 
gracefully.

-- 
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

        

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to