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

Stop sending the result as part of the load report payload

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: L3 - Default L3 - Default
    • 3.11.0-alpha5, 3.11.0
    • None
    • frontend
    • None
    • Not defined

      Context:
      See https://camunda.slack.com/archives/C04B3NL71RS/p1692181447545509
      It seems the reason for the failures is that the request payload is too big which makes the request exceed the 1mb default size limit

      AT:

      • Delete the result field before sending the request

      Testing Notes

      • create a raw data report for a process
      • open the dev tools in browser and go to network tab to see the network requests
      • change the table page size and see the network request to /api/report/evaluate/?offset=0&limit=<whatever page size was selected>
      • see the payload of the request - it should have different report properties but result property should not be there

        This is the controller panel for Smart Panels app

            [OPT-7186] Stop sending the result as part of the load report payload

            Omran Abazeed created issue -
            Omran Abazeed made changes -
            Component/s New: frontend [ 13654 ]
            Omran Abazeed made changes -
            Status Original: Triage [ 10612 ] New: Ready [ 10005 ]
            Michal Konopski made changes -
            Status Original: Ready [ 10005 ] New: In Development [ 10312 ]
            Omran Abazeed made changes -
            Assignee New: Michal Konopski [ michal.konopski ]
            Michal Konopski made changes -
            Description Original: Context:
            See https://camunda.slack.com/archives/C04B3NL71RS/p1692181447545509
            It seems the reason for the failures is that the request payload is too big which makes the request exceed the 1mb default size limit


            AT:
            * Delete the result field before sending the request
            New: Context:
            See [https://camunda.slack.com/archives/C04B3NL71RS/p1692181447545509]
            It seems the reason for the failures is that the request payload is too big which makes the request exceed the 1mb default size limit

            AT:
             * Delete the result field before sending the request

            h3. Testing Notes
             * create a raw data report for a process
             * open the dev tools in browser and go to network tab to see the network requests
             * change the table page size and see the network request to /api/report/evaluate/?offset=0&limit=<whatever page size was selected>
             * see the payload of the request - it should have different report properties *but result property* should not be there
            Michal Konopski made changes -
            Assignee Original: Michal Konopski [ michal.konopski ] New: Omran Abazeed [ omran.abazeed ]
            Status Original: In Development [ 10312 ] New: In Review [ 10212 ]
            Omran Abazeed made changes -
            Assignee Original: Omran Abazeed [ omran.abazeed ] New: Michal Konopski [ michal.konopski ]
            Status Original: In Review [ 10212 ] New: Rework [ 11413 ]
            Michal Konopski made changes -
            Status Original: Rework [ 11413 ] New: Ready for Testing [ 10008 ]
            Michal Konopski made changes -
            Assignee Original: Michal Konopski [ michal.konopski ] New: Cigdem Ilhan [ cigdem.ilhan ]

              Unassigned Unassigned
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: