You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Mehul Parikh (JIRA)" <ji...@apache.org> on 2017/02/15 03:56:41 UTC

[jira] [Updated] (RANGER-1380) not able to delete group that is having special character from ranger admin

     [ https://issues.apache.org/jira/browse/RANGER-1380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mehul Parikh updated RANGER-1380:
---------------------------------
    Attachment: RANGER-1380.patch

> not able to delete group that is having special character from ranger admin
> ---------------------------------------------------------------------------
>
>                 Key: RANGER-1380
>                 URL: https://issues.apache.org/jira/browse/RANGER-1380
>             Project: Ranger
>          Issue Type: Bug
>          Components: admin, Ranger
>    Affects Versions: 0.7.0
>            Reporter: Deepak Sharma
>            Assignee: Mehul Parikh
>            Priority: Critical
>             Fix For: 0.7.0
>
>         Attachments: RANGER-1380.patch
>
>
> not able to delete group that is having special character from ranger admin
> {code}org.apache.ranger.common.RESTErrorUtil (RESTErrorUtil.java:63) - Request failed. loginId=admin, logMessage=groupspecial#$@&amp; is Not Found
> javax.ws.rs.WebApplicationException
> 	at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:56)
> 	at org.apache.ranger.common.RESTErrorUtil.createRESTException(RESTErrorUtil.java:325)
> 	at org.apache.ranger.service.XGroupService.getGroupByGroupName(XGroupService.java:104)
> 	at org.apache.ranger.rest.XUserREST.deleteGroupsByGroupName(XUserREST.java:1064)
> 	at org.apache.ranger.rest.XUserREST$$FastClassByCGLIB$$b2a65360.invoke(<generated>)
> 	at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:191)
> 	at org.springframework.aop.framework.Cglib2AopProxy$CglibMethodInvocation.invokeJoinpoint(Cglib2AopProxy.java:689)
> {code}
> problem is the input sent for special character is appended with amp after the & which is causing the issue.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)