No SRID for 2nd geometry in SQL-views (after reload)

Description

When defining a SQL-View (based on PostGIS) with more than one geometry field,
the geometry type and the SRID get lost after restarting the geoserver.
The configuration file featuretype.xml is correct and has two elements for geometry
(type: Point, srid: 25832).
But only the last element will be used when loading the layer/featuretype on startup.
The other geometry is displayed as "Geometry" with SRID=-1.

In geoserver 2.5.2 this behaviour did not occur.

Environment

Windows, Tomcat7, geoserver 2.8.2, PostGIS 9.3

Assignee

Unassigned

Reporter

Christian Vogt

Triage

None

Fix versions

None

Affects versions

Components

Priority

Medium
Configure