Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-19662

Unknown attributes should not be allowed in quick link filter definitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk, 2.5.0
    • trunk, 2.5.0
    • ambari-server
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              bsari Balázs Bence Sári
              bsari Balázs Bence Sári
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: