Peter Smythe ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5b3b4ba74e83c12dd31159d6 ) *created* an issue
GeoServer ( https://osgeo-org.atlassian.net/browse/GEOS?atlOrigin=eyJpIjoiYTJkN2ViNDM0NjljNDRmYzhkNWY4MWYyYzI2M2ExZDQiLCJwIjoiaiJ9 ) / Bug ( https://osgeo-org.atlassian.net/browse/GEOS-11042?atlOrigin=eyJpIjoiYTJkN2ViNDM0NjljNDRmYzhkNWY4MWYyYzI2M2ExZDQiLCJwIjoiaiJ9 ) GEOS-11042 ( https://osgeo-org.atlassian.net/browse/GEOS-11042?atlOrigin=eyJpIjoiYTJkN2ViNDM0NjljNDRmYzhkNWY4MWYyYzI2M2ExZDQiLCJwIjoiaiJ9 ) REST API returns inconsistent status codes for already existing resources ( https://osgeo-org.atlassian.net/browse/GEOS-11042?atlOrigin=eyJpIjoiYTJkN2ViNDM0NjljNDRmYzhkNWY4MWYyYzI2M2ExZDQiLCJwIjoiaiJ9 ) Issue Type: Bug Assignee: Unassigned Components: REST Created: 22/Jun/23 3:05 PM Priority: Medium Reporter: Peter Smythe ( https://osgeo-org.atlassian.net/secure/ViewProfile.jspa?accountId=5b3b4ba74e83c12dd31159d6 ) POST http://localhost:8080/geoserver/rest/security/roles/role/this_role returns 201 Created, if this_role does not exist, as expected. Repeat the same POST, now the response is 404 (Not Found??), whereas other API endpoints mostly return 409 Conflict, if this_role already exists. ( https://osgeo-org.atlassian.net/browse/GEOS-11042#add-comment?atlOrigin=eyJpIjoiYTJkN2ViNDM0NjljNDRmYzhkNWY4MWYyYzI2M2ExZDQiLCJwIjoiaiJ9 ) Add Comment ( https://osgeo-org.atlassian.net/browse/GEOS-11042#add-comment?atlOrigin=eyJpIjoiYTJkN2ViNDM0NjljNDRmYzhkNWY4MWYyYzI2M2ExZDQiLCJwIjoiaiJ9 ) Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100227- sha1:6a5b8c4 )
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel