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

Incorrect behavior of period combobox/metrics on Dashboard page after resetting all widgets to default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 2.2.1
    • 2.2.2
    • ambari-web
    • None

    Description

      Steps:

      1. Go to Dashboard page.
      2. Change metrics period to any value ("1 week", for example).
      3. Click "Metric Actions">"Edit"->"Reset all widgets to default".

      Result: period combobox has old value (1 week), but metrics are displayed for 1 hour. Also after opening and closing widget window data in widget changes according to period (1 week).

      So, it is not fully clear - period value should be overwritten to "1 hour" as default after "Reset all widgets to default" click or no but then metrics should display correct info.

      Attachments

        1. AMBARI-14967_trunk.patch
          3 kB
          Antonenko Alexander
        2. AMBARI-14967_22.patch
          3 kB
          Antonenko Alexander
        3. 1weekAfterReset.png
          58 kB
          Antonenko Alexander
        4. 1weekBeforeReset.png
          49 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            aantonenko Antonenko Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: