[Geoserver-devel] [JIRA] (GEOS-11078) DefaultCatalogFacade.list throws NPE when trying to sort on path with maps

Niels Charlier created an issue

GeoServer / BugGEOS-11078

DefaultCatalogFacade.list throws NPE when trying to sort on path with maps

Issue Type:

BugBug

Assignee:

Niels Charlier

Created:

18/Jul/23 10:27 AM

Priority:

MediumMedium

Reporter:

Niels Charlier

  • The DefaultCatalogFacade.canSort method throws an NPE instead of returning false for unsupported paths as one would expect (line 1117 does not check for null), this is a bug.
  • When specifying a path that uses maps instead of beans, this is not supported, but elsewhere in geoserver this is supported. It would only be a small effort to add support (this is an improvement).
  • The lack of support causes a bug in csw-core when trying to sort on values in maps (such as when one is using the metadata module), This does work with jdbcconfig.

Add Comment

Add Comment

Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS


This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100232-sha1:4a3b42c)

Atlassian logo