[
http://jira.dspace.org/jira/browse/DS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Diggory closed DS-421.
---------------------------
Resolution: Fixed
Removed references in dspace.cfg, these properties are not supported in 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
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel