[Geoserver-devel] [JIRA] (GEOS-10062) LayerCache CatalogLinester might not be attached to the catalog at startup

Marco Volpini created an issue

GeoServer / BugGEOS-10062

LayerCache CatalogLinester might not be attached to the catalog at startup

Issue Type:

BugBug

Assignee:

Marco Volpini

Created:

13/May/21 9:21 AM

Priority:

MediumMedium

Reporter:

Marco Volpini

The issue has been encountered in a dev environment runnin GeoServer from Intellij on Windows (but not when running tests).
The GeoServerLoader pick up the listener from the first catalog object being created before sync it with the catalog being created from an eventully existing catalog.xml, so that they are not lost after the sync process.
However in this case the readCatalog method on the catalog2, issue the bean creation of the AccessManager being that attach the layerGroup listener to the available catalog1 instance, causing the listener to be lost when the sync happens. To fix is suggested a refactoring of the current code to retrieve the listeners after the read of the catalog2 ended.

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#100160-sha1:2fc23b5)

Atlassian logo