WangYuan created RANGER-1878:
--------------------------------

             Summary: The exception infomation print error for 
RangerPolicyServiceBase.java
                 Key: RANGER-1878
                 URL: https://issues.apache.org/jira/browse/RANGER-1878
             Project: Ranger
          Issue Type: Bug
          Components: admin, Ranger
    Affects Versions: master
            Reporter: WangYuan
            Assignee: WangYuan
            Priority: Minor


The exception infomation print error for RangerPolicyServiceBase.javaļ¼š

{code:title=RangerPolicyServiceBase.java|borderStyle=solid}

@Override
        protected T mapViewToEntityBean(V vObj, T xObj, int OPERATION_CONTEXT) {
                ... ..
                XXService xService = 
daoMgr.getXXService().findByName(vObj.getService());
                if (xService == null) {
                        throw restErrorUtil.createRESTException("No 
corresponding service found for policyName: " + vObj.getName()
                                        + "Service Not Found : " + 
vObj.getName(), MessageEnums.INVALID_INPUT_DATA);
               //should be:    "Service Not Found : " + vObj.getService(), 
                }
{code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to