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

Security wizard: Successive refreshes at some point results in blank screen.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.5
    • 1.2.5
    • ambari-web

    Description

      This ticket addresses following issues:
      • Refreshing at the moment when none of the stage is running brings up blank screen. The time window for this is small. Once entered in this state, user needs to quit the wizard and go through the wizard again to enable security.
      • On Google chrome multiple refreshes occasionally cancels the request (snapshot_1.png). This calls ajax error callback function which sets the error flag and resets the request Id to its default value. Setting the error flag will mark the stage as failure and show retry button which can be accepted. But setting the request Id to its default value makes retry button fire a API for new request. We should persist the request Id to let the user poll on the same Id on hitting retry button. Ajax call error while polling request shouldn't reset requestId. Only task failures in the polled response data should reset request Id.
      • Refresh on the step2 (Configure Services) navigates to step1 of the wizard.
      • We keep persisting entire localDb on the server side with the help of an observable function. This is for multiple browser support. This is large amount of data and its noticed to have slower ui on refreshes as refresh calls the function multiple time. We need to isolate other data and persist only security wizard specific data on the server.

      Attachments

        1. AMBARI-2547.patch
          24 kB
          Jaimin Jetly
        2. snapshot_1.png
          348 kB
          Jaimin Jetly
        3. AMBARI-2547_2.patch
          25 kB
          Jaimin Jetly

        Activity

          People

            jaimin Jaimin Jetly
            jaimin Jaimin Jetly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: