[
http://jira.dspace.org/jira/browse/DS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stuart Lewis updated DS-421:
----------------------------
Fix Version/s: 1.6.0
> Setting solr.metadata.item.X property to an unqualified field generates
> exception in SolrLogger.post on item view and prevents Solr from logging the
> event
> ----------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DS-421
> URL: http://jira.dspace.org/jira/browse/DS-421
> Project: DSpace 1.x
> Issue Type: Bug
> Components: DSpace API
> Affects Versions: 1.6.0
> Reporter: Scott Hanrath
> Assignee: Mark Diggory
> Priority: Minor
> Fix For: 1.6.0
>
>
> Setting a solr.metadata.item.X property to an unqualified field (e.g.,
> dc.title rather then dc.title.alternative) generates an exception in
> SolrLogger.post on item view. The ArrayIndexOutOfBoundsException appear to
> prevent Solr from logging the event.
> The stacktrace from the logs is:
> java.lang.ArrayIndexOutOfBoundsException: 2
> at org.dspace.statistics.SolrLogger.post(SolrLogger.java:216)
> at
> org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:48)
> at
> org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:154)
> at
> org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:97)
> at
> org.dspace.app.xmlui.cocoon.UsageLoggerAction.logDspaceObject(UsageLoggerAction.java:61)
> [...]
> This is similar to DS-419 in that a metadata field like 'schema.element' is
> being split into an array and the methods is then trying to access
> non-existent 3rd element of the array (i.e., array[2], representing the
> qualifier) without checking the array length first.
--
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
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel