[
https://issues.apache.org/jira/browse/AMBARI-14878?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mukhadin Buzdov updated AMBARI-14878:
-------------------------------------
Description:
_Ambari_ was integrated with _LDAP_, decided to use *cn* attribute as a _Group
Name_.
Some group names contain *&*.
*Steps to reproduce*:
# Log in using account with _Ambari Admin_ privilege.
# Go to _Apache Management Interface_.
# Open Groups list {color:gray}(please see *BUG_Groups_list.PNG*){color} and
open details for a group with *&* in name.
Privileges will not shown, error message will be shown instead
{color:gray}(please see *BUG_Privileges_fail.PNG*){color}:
{color:red}_*Cannot load privileges* Unable to compile query predicate: Invalid
Query Token: token='&', previous token type=PROPERTY_OPERAND__{color}
*Additional information*:
* Privileges for other groups {color:gray}(without *&*){color} are shown
correctly.
* It is just a view bug, privileges are handled correctly for all groups.
was:
_Ambari_ was integrated with _LDAP_, decided to use *cn* attribute as a _Group
Name_.
Some group names contain *&*.
*Steps to reproduce*:
# Log in using account with _Ambari Admin_ privilege.
# Go to _Apache Management Interface_.
# Open Groups list and open details for a group with *&* in name.
Privileges will not shown, error message will be shown instead:
{color:red}_*Cannot load privileges* Unable to compile query predicate: Invalid
Query Token: token='&', previous token type=PROPERTY_OPERAND__{color}
*Additional information*:
* Privileges for other groups {color:gray}(without *&*){color} are shown
correctly.
* It is just a view bug, privileges are handled correctly for all groups.
> [Ambari Web UI] Cannot load group privileges if Group Name contains &
> ---------------------------------------------------------------------
>
> Key: AMBARI-14878
> URL: https://issues.apache.org/jira/browse/AMBARI-14878
> Project: Ambari
> Issue Type: Bug
> Components: ambari-admin
> Affects Versions: 2.1.2
> Environment: _Operating system_: CentOS Linux 7
> {color:gray}(7.1.1503){color}
> _Platform_: HDP 2.3.4.0
> Reporter: Mukhadin Buzdov
> Priority: Minor
> Attachments: BUG_Groups_list.PNG, BUG_Privileges_fail.PNG
>
>
> _Ambari_ was integrated with _LDAP_, decided to use *cn* attribute as a
> _Group Name_.
> Some group names contain *&*.
> *Steps to reproduce*:
> # Log in using account with _Ambari Admin_ privilege.
> # Go to _Apache Management Interface_.
> # Open Groups list {color:gray}(please see *BUG_Groups_list.PNG*){color} and
> open details for a group with *&* in name.
> Privileges will not shown, error message will be shown instead
> {color:gray}(please see *BUG_Privileges_fail.PNG*){color}:
> {color:red}_*Cannot load privileges* Unable to compile query predicate:
> Invalid Query Token: token='&', previous token type=PROPERTY_OPERAND__{color}
> *Additional information*:
> * Privileges for other groups {color:gray}(without *&*){color} are shown
> correctly.
> * It is just a view bug, privileges are handled correctly for all groups.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)