docker-geoserver icon indicating copy to clipboard operation
docker-geoserver copied to clipboard

Custom Vector Dimensions don't work in 2.25.0

Open RoryMMMM opened this issue 1 year ago • 2 comments
trafficstars

What is the bug or the crash?

When a Custom Vector Dimension is added to any layer it breaks that layer's preview. When clicking the link to an Openlayers or KML preview an WMS error is downloaded:

<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE ServiceExceptionReport SYSTEM "http://localhost:9090/geoserver/schemas/wms/1.1.1/WMS_exception_1_1_1.dtd"> <ServiceExceptionReport version="1.1.1" >   <ServiceException>
      Layer countries does not have custom dimension support enabled
</ServiceException></ServiceExceptionReport>

This might be a geoserver issue but seeing as how there are a bunch of other 2.25 errors being reported here (and git >> jira) I thought I'd give it a try. Please let me know if this is inappropriate.

I've tested this on the latest (yesterday?) kartoza/geoserver image.

Steps to reproduce the issue

  1. Download the kartoza/geoserver docker compose file.
  2. docker compose up
  3. edit any layer to have a custom dimension.
  4. click on layer preview. wms error file is downloaded

image

Versions

GeoServer Version: 2.25.0 Git Revision: bf9a61403423f3b635234a09ec023d5617173fe2 Build Date: 19-Mar-2024 10:05 GeoTools Version: 31.0 (rev 7b3a6ab865e8e49df9d3094516cdc27fe3d21cc3) GeoWebCache Version: 1.25.0 (rev 1.25.x/87b9e33be5b040e9312d0b34bd630298ff8c2ab7)

Additional context

No response

RoryMMMM avatar May 17 '24 15:05 RoryMMMM

Can you please try the 2.25.1 tag

NyakudyaA avatar Jun 06 '24 04:06 NyakudyaA

No change:

  • Pulled and deployed the 2.25.1 docker image,
  • changed the "country" test layer to have custom vector dimensions,
  • tried to open it with openlayers,
  • received the same WMS error.

RoryMMMM avatar Jun 07 '24 14:06 RoryMMMM

Should be tried with new versions

NyakudyaA avatar Sep 09 '25 22:09 NyakudyaA