Balázs Bence Sári created AMBARI-19662:
------------------------------------------

             Summary: Unknown attributes should not be allowed in quick link 
filter definitions
                 Key: AMBARI-19662
                 URL: https://issues.apache.org/jira/browse/AMBARI-19662
             Project: Ambari
          Issue Type: Bug
            Reporter: Balázs Bence Sári


When the user makes a syntax error in a quick link definition, such as:

{ "linKKK_name": "namenode_ui", "visible": true }

the filter will be misinterpreted as an accept-all filter, due to the fact that 
the parser would expect a proper "link_name" tag to interpret it as a link name 
filter. This would lead to unexpected and difficult to debug behaviour.

To prevent this, quick link profile evaluation should throw an exception 
whenever it finds unknown tags in a filter definition



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to