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

Reports are missing after upgrade from 3.10.x to 3.11.x

    XMLWordPrintable

Details

    • Bug Report
    • Resolution: Fixed
    • L3 - Default
    • 3.11.3
    • 3.11.0, 3.11.1, 3.11.2
    • None
    • Not defined

    Description

      What/Where is the issue ?

      After the upgrade to 3.11.0 reports are missing in the UI because their definition sources where updated to have the C8 default tenantId.

      Environment: C7/ C8SaaS/ C8SM

      Optimize version : 3.11.0
      ES version : 7.17.9
      OS + Browser version :

      Steps to reproduce:

      1. Start Optimize 3.10.4
      2. Create process report (doesn't matter if in- or outside of collection) with a definition source
      3. Create some collections and add some definition sources
      4. Stop Optimize
      5. Alter some data in ES to have "zeebe" datasource
      6. Perform upgrade to 3.11.0
      7. Start Optimize
      8. All reports are gone
      9. collection scopes are misconfigured (default tentant ID for scopes)

      Observed behavior:

      Reports are gone.

      Expected behavior:

      Reports are visible after the upgrade, report tenant ID and collection scopes should not have changed after upgrade.

       

      Testing Notes:

      This will be fixed with 3.11.3 (so in step 4, perform upgrade to 3.11.3)

      Additional Information:

      • optimize-single-process-report before upgrade:
        "tenantIds": [ null ]
        

        optimize-single-process-report after upgrade

        "tenantIds": [ "<default>" ]
        

        It looks like the upgrade script set the tenantId to the default tenant used in C8.

      • optimize-collection index after upgrade:
        "scope": [
                                    {
                                        "tenants": [
                                            "<default>"
                                        ],
                                        "definitionKey": "invoice-assign-approver",
                                        "id": "decision:invoice-assign-approver",
                                        "definitionType": "decision"
                                    },
                                    {
                                        "tenants": [
                                            "<default>"
                                        ],
                                        "definitionKey": "invoice",
                                        "id": "process:invoice",
                                        "definitionType": "process"
                                    },
                                    {
                                        "tenants": [
                                            "<default>"
                                        ],
                                        "definitionKey": "invoiceClassification",
                                        "id": "decision:invoiceClassification",
                                        "definitionType": "decision"
                                    },
                                    {
                                        "tenants": [
                                            "<default>"
                                        ],
                                        "definitionKey": "ReviewInvoice",
                                        "id": "process:ReviewInvoice",
                                        "definitionType": "process"
                                    }
                                ]
        

      mgm-controller-panel

        This is the controller panel for Smart Panels app

        Attachments

          Activity

            People

              Unassigned Unassigned
              michal.dytko Michal Dytko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Salesforce