[
https://issues.apache.org/jira/browse/RANGER-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Qiang Zhang updated RANGER-1430:
--------------------------------
Attachment: 0001-RANGER-1430.patch
> 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
> Labels: patch
> Attachments: 0001-RANGER-1430.patch
>
>
> 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)