Deepak Sharma created RANGER-1380:
-------------------------------------

             Summary: 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
            Priority: Critical
             Fix For: 0.7.0


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#$@& 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)

Reply via email to