[Geoserver-devel] [JIRA] (GEOS-7146) wfs.xml from "minimal" GeoServer config dir result into a com.thoughtworks.xstream.security.ForbiddenClassException: org.geoserver.wfs.GMLInfoImpl

Daniele Romagnoli created an issue

GeoServer / BugGEOS-7146

wfs.xml from “minimal” GeoServer config dir result into a com.thoughtworks.xstream.security.ForbiddenClassException: org.geoserver.wfs.GMLInfoImpl

Issue Type:

BugBug

Affects Versions:

2.8-M0, 2.7.2

Assignee:

Unassigned

Components:

WFS

Created:

06/Aug/15 2:30 PM

Fix Versions:

2.8-beta, 2.7.3

Priority:

MediumMedium

Reporter:

Daniele Romagnoli

Starting GeoServer with unspecified GEOSERVER_DATA_DIR automatically setup a data dir containing old definition of wfs.xml (probably coming from “minimal” config dir)


<gml>
<entry>
<org.geoserver.wfs.WFSInfo_-Version>V_11</org.geoserver.wfs.WFSInfo_-Version>
<org.geoserver.wfs.GMLInfoImpl>
<srsNameStyle>URN</srsNameStyle>
</org.geoserver.wfs.GMLInfoImpl>
</entry>
<entry>
<org.geoserver.wfs.WFSInfo_-Version>V_10</org.geoserver.wfs.WFSInfo_-Version>
<org.geoserver.wfs.GMLInfoImpl>
<srsNameStyle>XML</srsNameStyle>
</org.geoserver.wfs.GMLInfoImpl>
</entry>
</gml>

We should add the GMLInfoImpl to the allowed types of the WFS XStreamPersister initialization.

Pull request incoming…

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-08-001#65007-sha1:1fc9846)

Atlassian logo