You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "peng.jianhua (JIRA)" <ji...@apache.org> on 2018/01/04 03:08:00 UTC
[jira] [Resolved] (RANGER-1878) The exception infomation print
error for RangerPolicyServiceBase.java
[ https://issues.apache.org/jira/browse/RANGER-1878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
peng.jianhua resolved RANGER-1878.
----------------------------------
Resolution: Fixed
Fix Version/s: master
1.0.0
> 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
> Fix For: 1.0.0, master
>
> Attachments: 0001-RANGER-1878-The-exception-infomation-print-error-for.patch
>
>
> 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)