You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Qiang Zhang (JIRA)" <ji...@apache.org> on 2017/03/08 01:45:38 UTC
[jira] [Created] (RANGER-1430) There are some duplicate keys in
some js files
Qiang Zhang created RANGER-1430:
-----------------------------------
Summary: There are some duplicate keys in some js files
Key: RANGER-1430
URL: https://issues.apache.org/jira/browse/RANGER-1430
Project: Ranger
Issue Type: Bug
Components: admin
Reporter: Qiang Zhang
Assignee: Qiang Zhang
Priority: Minor
the function of '_.omit(object, *keys)' is as follows:
for example:
_.omit({name: 'moe', age: 50, userid: 'moe1'}, 'userid');
will return => {name: 'moe', age: 50}
in ranger-admin Web UI, some codes are as follows:
{code}
var attrs = _.omit(this.serverSchema, 'id', 'createDate', 'updateDate', "version",
"createDate", "updateDate", "displayOption",
"permList", "forUserId", "status", "priGrpId",
"updatedBy","isSystem");
{code}
the keys of 'createDate' and 'updateDate' are duplicated.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)