looks to me like a typo in the code
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/eperson/EPerson.java#L502
and
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/eperson/EPerson.java#L510
where it says s = "m_text_value”; it should be s = “m.text_value";
Monika
________________
Monika Mevenkamp
phone: 609-258-4161
Princeton University, Princeton, NJ 08544
On Apr 27, 2015, at 11:26 AM, Oliver Goldschmidt
<[email protected]<mailto:[email protected]>> wrote:
Hello,
I have a problem in DSpace 5.1. After upgrading from DSpace 4.2 I cannot
change publication permissions or workflow step permissions on a
collection or select users in the permission system.
I have tracked down the error and it seems to be most likely a bug, but
I'm not 100% sure...
Trying to use http://dspace-instance/tools/eperson-list?multiple=false
(after having logged in as admin) is throwing an NPE:
2015-04-27 17:19:52,812 DEBUG org.dspace.storage.rdbms.DatabaseManager @
Running query "SELECT * FROM eperson e ORDER BY ?" with parameters:
m_text_value
2015-04-27 17:19:52,817 WARN
org.dspace.app.webui.servlet.InternalErrorServlet @
:session_id=XX...XX:internal_error:-- URL Was:
https://dspace.tub.tuhh.de/tools/eperson-list?multiple=false
-- Method: GET
-- Parameters were:
-- multiple: "false"
java.lang.NullPointerException
at org.dspace.eperson.EPerson.findAll(EPerson.java:518)
The reason for this error is, that I do not have a field m_text_value in
the table eperson, so the query fails.
Is this a bug or have I missed something upgrading the database?
Best regards
Oliver
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette