Uploaded image for project: 'Camunda Optimize'
  1. Camunda Optimize
  2. OPT-6756

Adding text report with horizonatl rule causes error

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.10.0-alpha5, 3.10.0
    • None
    • frontend
    • None

      Brief summary of the bug. What is it ? Where is it ?

      When adding text report which contains horizontal rule to the dashboard, an error is thrown

      flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task. 

       

      Steps to reproduce:

      1. run optimize locally (this error is hidden in production mode of react)
      2. create dashboard
      3. use "Add a Report" button
      4. select "Text Report"
      5. insert horizontal rule to the report
      6. try to add the report to the dashboard
      7. in the console you should see the error

      Actual result:

      Error is thrown when report is added

      Expected result:

      Report should be added without any error

        This is the controller panel for Smart Panels app

              Unassigned Unassigned
              michal.konopski Michal Konopski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: