You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "WangYuan (JIRA)" <ji...@apache.org> on 2017/11/08 08:07:00 UTC

[jira] [Created] (RANGER-1878) The exception infomation print error for RangerPolicyServiceBase.java

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)