Issue Type: Bug Bug
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: Minor Minor
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
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to