Alert page crashes when page is closed after report creation

XMLWordPrintable

    • Type: Bug Report
    • Resolution: Fixed
    • Priority: L3 - Default
    • 2.3.0
    • Affects Version/s: None
    • Component/s: backend
    • None

      Reproduce:

      • Goto the Reports list page
      • Click on the "Create new Report" button
      • Immediately close the page before the report builder has been loaded (enabling network throttling helps)
      • Open a new tab and goto optimize (do not go to the edit mode of the newly created report)
      • Goto the alerts section
      • Click on the "Create new Alert" button

      Expected:

      • The create new alert modal opens

      Observed:

      • nothing happens
      • In development mode, Optimize crashes when going to the alert page

      Workaround:

      • Goto the edit mode of the newly created report and save it

      Hint:

      • Can be fixed in both frontend and backend:
        • Frontend fix: make the alerts page check if the report has a data field before accessing the visualization
        • Backend fix: initialize the data field when creating a report

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Stamm
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: