geostyler / geostyler-geoserver-plugin

GeoStyler UI for the GeoServer
GNU General Public License v2.0
7 stars 4 forks source link

GeoStyler assumes the path to start with /geoserver/ #106

Closed petersmythe closed 1 month ago

petersmythe commented 1 year ago

Most GeoServer instances might be installed at, for example, http://localhost:8080/geoserver, but some are definitely not, they might be http://localhost:8080/my-path (or mapservice in the bottom screenshot)

GeoStyler installs properly and runs, but on the Style page, hangs with: GeoStyler is loading ...

image

In DevTools, I can see 2x 404 errors, because GeoStyler is trying to connect to GeoServer on the /geoserver/ path and not on the /my-path/ path.

image

Before GeoStyler was extracted out of the GeoServer project it worked with a different path. Is there a way to configure GeoStyler now?

jansule commented 1 year ago

@dnlkoch could you take a look at this?

petersmythe commented 1 year ago

The 404 requests are DescribeFeatureType requests:

https://<hostname>/geoserver/ows?service=WFS&version=2.0.0&request=DescribeFeatureType&typenames=<ws>:<layer>

jansule commented 1 month ago

:tada: This issue has been resolved in version 1.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: