[Geoserver-devel] [JIRA] (GEOS-7168) A misconfiguration in md_metadata.properties throws generic error

Paul van Genuchten created an issue

GeoServer / BugGEOS-7168

A misconfiguration in md_metadata.properties throws generic error

Issue Type:

BugBug

Affects Versions:

2.7.1.1

Assignee:

Unassigned

Components:

CSW

Created:

24/Aug/15 5:18 PM

Priority:

MediumMedium

Reporter:

Paul van Genuchten

If you add this construct to md_metadata.properties (in /data/csw)

language.LanguageCode.@anonymised.com=‘http://www.loc.gov/standards/iso639-2/
language.LanguageCode.@anonymised.com=‘dut’
language.LanguageCode=‘Nederlands’

you will get a generic exception when requesting a getrecord

java.lang.ClassCastException: org.geoserver.csw.records.GenericRecordBuilder$TreeBranch cannot be cast to org.geoserver.csw.records.GenericRecordBuilder$ComplexTreeLeaf

could be improved by showing a message in the error which configuration item caused the error

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v7.0.0-OD-02-247#70102-sha1:09808d3)

Atlassian logo