What/Where is the issue ?
When in a report data source no tenants are selected but a specific or "latest" version is selected, the FE breaks with error message "Cannot read properties of undefined (reading 'id')". Video attached
Environment: C7/ C8SaaS/ C8SM
Optimize version : 3.11
ES version : 8
OS + Browser version : chrome
Steps to reproduce:
- Preconditions:
Optimize in CCSM with at least one definition deployed that has multiple versions - Steps:
- Create a report, in the report creation modal deselect all tenants and select either "latest" version or a specific version
- OR:
- after creating a report, edit it and deselect all tenants and select either a specific version or "latest" version
The same also occurs for definitions that only exist on one tenant when selecting a specific version (latest is fine):
- Preconditions:
Optimize in CCSM with atone definition deployed on one tenant - Steps:
- Create a report
- after creating a report, edit it and select a specific version
Observed behaviour:
The report breaks, saying "Cannot read properties of undefined (reading 'id')"
Expected behaviour:
The report should not break but instead just show no data.
Additional Information:
Video attached
This is the controller panel for Smart Panels app
[OPT-7343] Selecting specific or latest version and no tenant in report breaks FE
Attachment | New: reportissue.gif [ 68018 ] |
Assignee | New: Omran Abazeed [ omran.abazeed ] |
Attachment | New: reportissue2.gif [ 68020 ] |
Description |
Original:
h3. What/Where is the issue ?
When in a report data source no tenants are selected but a specific or "latest" version is selected, the FE breaks with error message "Cannot read properties of undefined (reading 'id')". Video attached h3. Environment: C7/ C8SaaS/ C8SM Optimize version : 3.11 ES version : 8 OS + Browser version : chrome h3. Steps to reproduce: - Preconditions: Optimize in CCSM with at least one definition deployed that has multiple versions - Steps: -- Create a report, in the report creation modal deselect all tenants and select either "latest" version or a specific version -- OR: -- after creating a report, edit it and deselect all tenants and select either a specific version or "latest" version h3. Observed behaviour: The report breaks, saying "Cannot read properties of undefined (reading 'id')" h3. Expected behaviour: The report should not break but instead just show no data. h3. Additional Information: Video attached |
New:
h3. What/Where is the issue ?
When in a report data source no tenants are selected but a specific or "latest" version is selected, the FE breaks with error message "Cannot read properties of undefined (reading 'id')". Video attached h3. Environment: C7/ C8SaaS/ C8SM Optimize version : 3.11 ES version : 8 OS + Browser version : chrome h3. Steps to reproduce: - Preconditions: Optimize in CCSM with at least one definition deployed that has multiple versions - Steps: -- Create a report, in the report creation modal deselect all tenants and select either "latest" version or a specific version -- OR: -- after creating a report, edit it and deselect all tenants and select either a specific version or "latest" version The same also occurs for definitions that only exist on one tenant when selecting a specific version (latest is fine): - Preconditions: Optimize in CCSM with atone definition deployed on one tenant - Steps: -- Create a report -- after creating a report, edit it and select a specific version h3. Observed behaviour: The report breaks, saying "Cannot read properties of undefined (reading 'id')" h3. Expected behaviour: The report should not break but instead just show no data. h3. Additional Information: Video attached |
Assignee | Original: Omran Abazeed [ omran.abazeed ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Triage [ 10612 ] | New: Done [ 10010 ] |
Fix Version/s | New: 3.11.0 [ 18496 ] |
Labels | Original: current_release |
Fixed and QAed with 3.11.0-rc7