[Geoserver-devel] [JIRA] (GEOS-7067) REST assocation of a layer with a non existing style results in no error

Andrea Aime [Administrator] created an issue

GeoServer / BugGEOS-7067

REST assocation of a layer with a non existing style results in no error

Issue Type:

BugBug

Assignee:

Unassigned

Created:

10/Jun/15 1:52 PM

Priority:

MediumMedium

Reporter:

Andrea Aime [Administrator]

With the example below:

 curl -v -u admin:Geos -XPUT -H "Content-type: text/xml" -d "<layer><defaultStyle><name>landmarks1</name></defaultStyle><enabled>true</enabled></layer>" http://localhost:8083/geoserver/rest/layers/myworkspace:pointlands

the pointlands layer exists, but the lanmarks1 style does not, the response is 200 and there is no error logged anywhere

Expected behavior: 40x response and a stack trace

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-05-041#65001-sha1:e07c9f6)

Atlassian logo