[Geoserver-devel] [jira] Created: (GEOS-3002) restconfig's CoverageStoreFileResource.handlePut doesn't properly set style and wmspath specified in the request

restconfig's CoverageStoreFileResource.handlePut doesn't properly set style and wmspath specified in the request
-----------------------------------------------------------------------------------------------------------------

                 Key: GEOS-3002
                 URL: http://jira.codehaus.org/browse/GEOS-3002
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.7.4
            Reporter: Daniele Romagnoli
            Assignee: Andrea Aime
             Fix For: 1.7.5
         Attachments: layerinfo.patch

Style and wmspath parameters are ignored by the CoverageStoreFileResource handleput method when setting layerInfo in the catalog.
The handlePut method leverages on the CatalogBuilder convenience class.

I suggest to extend the CatalogBuilder's buildLayer method to take an additional Map as input containing parameters needed to configure the layerInfo object with style and wmspath (when available).

I have attached a patch to handle that case.
If everything it's ok, I will committ the changes.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira