[Geoserver-devel] [JIRA] (GEOS-8870) Problem when try change Workspace name using API Rest

Luiz Caires created an issue

GeoServer / BugGEOS-8870

Problem when try change Workspace name using API Rest

Issue Type:

BugBug

Affects Versions:

2.13.2

Assignee:

Unassigned

Components:

REST

Created:

01/Aug/18 10:05 PM

Priority:

MediumMedium

Reporter:

Luiz Caires

When try to change workspace name using API Rest, geoserver gives error
{{
Caused by: org.geoserver.rest.RestException 403 FORBIDDEN: Can’t change name of workspace}}

Line 178 theres wrong logic test
{{!workspaceName.equals(infoName) }} when should be workspaceName.equals(infoName)
Thats because this test should throw an exception if the workspaceName is equal as requested one, not different.

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#100090-sha1:e01264c)

Atlassian logo