I think that some latest code has introduced a regression in GeoServer Layer publishing.
I’m wondering if there is some issues with the GeoServer Catalog management (see the final note in this report).
Steps to replicate the issues:
- From the GeoServer GUI, click on Data->Stores->add a new Store
- Select GeoTIFF (I have noticed same problem with ArcGrid so I think it’s format unrelated)
- specify a name for the store and browse the disk to refer to a standard GeoTIFF. (You may consider using geoserver sample data GeoTIFF. It’s available in the GeoServer source code: geoserver\data\release\coverages\img_sample\Pk50095.tif)
- click on save.
You will notice the first issue:
Usually you would have seen the list of available layers to be published.
Right now you need to manually select the newly configured CoverageStore from the dropdown.
- select the Previously configured GeoTIFF store from the dropdown
- click on the Publish link for that layer.
- hit save (this should publish the layer)
- select again the “add a new layer” link
- select again the same exact previously configured GeoTIFF store from the dropdown
You will notice that the available layer doesn’t have the “Published” checkmark icon.
You may configure other GeoTIFFs and you will see the same result.
Final note:
If you go to the “ServerStatus” page and click on “Reload” button to Reload the Configuration and the Catalog, all the layers become “Published”.
|