Hello:
I recently upgraded from DSpace 4.3 to DSpace 5.1 (XMLUI) using a theme based
on Mirage2.
We just noticed a peculiar problem. In our theme, we place the name of the
user on the screen when they log in.
This worked fine in DSpace 4.3, but when I went to DSpace 5.1, I see the
following errors when a person logs in:
2015-04-15 15:46:23,333 ERROR org.dspace.content.DSpaceObject @ Loading item -
cannot find metadata field -1 for resourceType=7 and resourceId=5
2015-04-15 15:46:23,333 ERROR org.dspace.content.DSpaceObject @ Loading item -
cannot find metadata field -1 for resourceType=7 and resourceId=5
2015-04-15 15:46:23,334 ERROR org.dspace.content.DSpaceObject @ Loading item -
cannot find metadata field -1 for resourceType=7 and resourceId=5
2015-04-15 15:46:23,334 ERROR org.dspace.content.DSpaceObject @ Loading item -
cannot find metadata field -1 for resourceType=7 and resourceId=5
And the user's name does not appear on the screen.
Also, when a person tries to log in using Shibboleth (also worked in 4.3), we
get "AUTHENTICATION FAILED" and I see the following in the logs:
2015-04-15 15:46:23,338 ERROR org.dspace.authenticate.ShibAuthentication @
Unable to successfully authenticate using shibboleth for user because of an
exception.
java.sql.SQLException: Invalid metadata field: [eperson.firstname]
at org.dspace.content.DSpaceObject.updateMetadata(DSpaceObject.java:122)
at org.dspace.eperson.EPerson.update(EPerson.java:1056)
at
org.dspace.authenticate.ShibAuthentication.updateEPerson(ShibAuthentication.java:825)
at
org.dspace.authenticate.ShibAuthentication.authenticate(ShibAuthentication.java:221)
at
org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:162)
at
org.dspace.authenticate.AuthenticationManager.authenticate(AuthenticationManager.java:99)
at
org.dspace.app.xmlui.utils.AuthenticationUtil.authenticate(AuthenticationUtil.java:107)
at
org.dspace.app.xmlui.aspect.eperson.ShibbolethAction.act(ShibbolethAction.java:64)
(---etc)
Has there been some change in the way the eperson data is handled between 4.3
and 5.1?
George Kozak
Digital Library Specialist
Cornell University Library Information Technologies (CUL-IT)
218 Olin Library
Cornell University
Ithaca, NY 14853
607-255-8924
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette