-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
3.11.0, 3.11.1, 3.11.2
-
None
-
Not defined
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:
- Start Optimize 3.10.4
- Create process report (doesn't matter if in- or outside of collection) with a definition source
- Create some collections and add some definition sources
- Stop Optimize
- Alter some data in ES to have "zeebe" datasource
- Perform upgrade to 3.11.0
- Start Optimize
- All reports are gone
- 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" } ]