Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1878

The exception infomation print error for RangerPolicyServiceBase.java

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • master
    • 1.0.0, master
    • admin, Ranger
    • None
    • Patch

    Description

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

      RangerPolicyServiceBase.java
      
      @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(), 
      		}
      

      Attachments

        Activity

          People

            wangyuan Yuan Wang
            wangyuan Yuan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: