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

Conflicting Collection Data Source update returns serverError

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.0.0
    • 3.0.0
    • backend
    • None

    Description

      Given:
      A collection with a data source and at least one report making use of that data source and all it's tenants.

      When:
      I update the data source and e.g. deselect some tenants.

      Then:
      I get a conflict response with the errorCode `serverError`:

      {
        "errorCode" : "serverError",
        "errorMessage" : "An internal server error occurred.",
        "detailedMessage" : "Operation cannot be executed as other entities would be affected.",
        "conflictedItems" : [ {
          "id" : "88b04cea-4441-4460-873c-c3b63b97891d",
          "type" : "report",
          "name" : "Johns Report"
        } ]
      }
      

      Expected:
      I get a conflict response listing the report that would get updated/removed if I force the update.

      {
        "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" : "88b04cea-4441-4460-873c-c3b63b97891d",
          "type" : "report",
          "name" : "Johns Report"
        } ]
      }
      

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              sebastian.bathke Sebastian Bathke
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce