Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.geoserver.geofence.core.dao.DuplicateKeyException: Duplicate Rule - Non existent priority number #250

Open
GeoGyro opened this issue Sep 29, 2023 · 0 comments

Comments

@GeoGyro
Copy link

GeoGyro commented Sep 29, 2023

In Geoserver's logs I see errors about duplicated rules with some layers:

WARN [impl.RuleDAOImpl] -  ORIG: Rule[id:94151 pri:111070 role:ROLE_VIEWER srv:WFS req:GETFEATUREWITHLOCK ws:geonode l:my_layer acc:DENY]
WARN [impl.RuleDAOImpl] -  DUP : Rule[id:null pri:111074 role:ROLE_VIEWER srv:WFS req:GETFEATUREWITHLOCK ws:geonode l:my_layer acc:DENY]
ERROR [geoserver.rest] - Duplicate Rule Rule[id:null pri:111074 role:ROLE_VIEWER srv:WFS req:GETFEATUREWITHLOCK ws:geonode l:my_layer acc:DENY]
org.geoserver.geofence.core.dao.DuplicateKeyException: Duplicate Rule Rule[id:null pri:111074 role:ROLE_VIEWER srv:WFS req:GETFEATUREWITHLOCK ws:geonode l:my_layer acc:DENY]

When I look into geonode_data database public.gf_rule I can see a priority rule with 111070 number but no 111074. Even when I delete and upload the layer, this error is still present and old rules seems to be still present in system.

I'm using Geoserver 2.20.6.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant