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

Force delete is not working for collection data sources

XMLWordPrintable

    • Icon: Bug Report Bug Report
    • Resolution: Unresolved
    • Icon: L3 - Default L3 - Default
    • 3.11.4
    • None
    • frontend
    • None
    • Not defined

      What/Where is the issue ?

      Force deleting a collection source that is used in some reports is not working

      Environment: C7/ C8SaaS/ C8SM

      Optimize version : 3.10 / 3.11 (potentially 3.9 as well)
      ES version : 7.17
      OS + Browser version : MacOS + chrome

      Steps to reproduce:

      When doing delete with "force = true" on a data source like this

      DELETE api/collection/<collectionId>/scope/{scopeEntryId}?force=true
      

      Considering that the data source is used in some reports.

      Observed behavior:

      The request fails with 409 conflict response even with the force option.  Neither the data source nor the assosiated reports gets deleted.

      {
        "errorCode" : "collectionConflict",
        "errorMessage" : "Could not apply the collection changes due to conflicts.",
        "detailedMessage" : "Operation cannot be executed as other entities would be affected.",
        "conflictedItems" : [ {
          "id" : "976ae975-7aa8-4521-ae2a-6655e519310d",
          "type" : "report",
          "name" : "Locate bottlenecks on a Heatmap"
        } ]
      }

       

      Expected behavior:

      The data source and the associated reports should get deleted successfully.

      Additional Information:

        This is the controller panel for Smart Panels app

              cigdem.ilhan Cigdem Ilhan
              omran.abazeed Omran Abazeed
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: