[Geoserver-devel] [jira] (GEOS-6060) Changing coverage from disabled to enabled via REST

Nicolas De Smyter created BugGEOS-6060
Changing coverage from disabled to enabled via REST

Issue Type:

BugBug

Affects Versions:

2.4.0

Assignee:

Andrea Aime

Components:

REST

Created:

27/Sep/13 8:31 AM

Description:

If I run the following command once, my layer is added with enabled=false; if I run the code twice the layer becomes enabled.

curl -u username:password -XPUT -H “Content-Type: image/tiff” --data-binary @path “server/rest/workspaces/workspace/coveragestores/name/file.geotiff”

It’s weird that it adds the layer both times, results both times in HTTP 201; but the result is different. It isn’t logical that the first time it is enabled=false and the second time enabled=true.

After the second time, it stays on enabled=true. Would be more consistent if it was enabled=true from the beginning.

Project:

GeoServer

Labels:

rest coveragestores layer

Priority:

MinorMinor

Reporter:

Nicolas De Smyter

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)