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

Loading reports variables in dashboard fails when renaming variables

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.8.0-alpha1, 3.8.0
    • None
    • backend
    • None
    • Not defined

    Description

      Reproduce:

      • Create a report with a process definition that has variables
      • Go to the report edit mode
      • From the control panel, click on the edit button to open the definition popover
      • Click rename variables
      • Save the report
      • Go to the homepage and create a copy the created report
      • Create a dashboard and add both reports to it

      Observed:
      A notification error appears indicating that the variables names endpoint has failed:

      detailedMessage: "Duplicate key analysistestingprocess (attempted merging values DefinitionVariableLabelsDto(definitionKey=analysistestingprocess, labels=[LabelDto(variableLabel=RenamedBoolVar, variableName=boolVar, variableType=BOOLEAN)]) and DefinitionVariableLabelsDto(definitionKey=analysistestingprocess, labels=[LabelDto(variableLabel=RenamedBoolVar, variableName=boolVar, variableType=BOOLEAN)]))"
      errorCode: "serverError"
      errorMessage: "An internal server error occurred."
      reportDefinition: null
      

      Expected:
      The variables for the reports inside the dashboard are loaded successfully

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce