Cannot create report in collection when providing empty payload

XMLWordPrintable

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

      Given:
      I'm in the context of a collection

      When:
      I create a new report with providing the collectionId query param but no payload

      Then:
      The create call fails with a 400 "The collection IDs provided must be the same"

      Expected:
      It should succeed for an empty payload and the provided collectionId queeyParam should be used

      Note:
      This is a regression from OPT-2463, we weren't aware that by default an empty payload is sent.

        This is the controller panel for Smart Panels app

              Assignee:
              Unassigned
              Reporter:
              Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: