-
Bug Report
-
Resolution: Fixed
-
L3 - Default
-
None
-
None
-
None
-
Not defined
Brief summary of the bug. What is it ? Where is it ?
Configuring a process in the process overview page doesn't work if owner was set via API
Steps to reproduce:
- Deploy a process
- Set an owner via the API api/process/initial-owner
- Go to Optimize process overview page
- Click on configure for that project
Actual result:
An application error occured.
Refresh your browser or close it and sign in again.
Cannot read properties of null (reading 'value')
Expected result:
Should work
Reason: The reason for that is that the frontend is not expecting a null value for "checkInterval". In a normal process overview, the response from the BE looks like this:
{ "processDefinitionName" : "Customer Onboarding", "processDefinitionKey" : "customer_onboarding_en", "owner" : \{ "id" : null, "name" : null },
"digest" : {
"checkInterval" :
,
"kpiReportResults" : { },
"enabled" : false
},
"kpis" : [ ],
"linkToDashboard" : "/collection/customer_onboarding_en/dashboard/customer_onboarding_en?appcue=7c293dbb-3957-4187-a079-f0237161c489"
}
In a process overview that was created by the API, it looks like this:
{ "processDefinitionName" : "Enforcing SLA Example", "processDefinitionKey" : "kartoffelpower", "owner" : \{ "id" : "samlp|Okta|giuliano.rodrigues-lima@camunda.com", "name" : "Giuliano Rodrigues Lima" },
"digest" : {
"checkInterval" : null,
"kpiReportResults" : { },
"enabled" : false
},
"kpis" : [ ],
"linkToDashboard" : "/collection/kartoffelpower/dashboard/kartoffelpower?appcue=7c293dbb-3957-4187-a079-f0237161c489"
}
This is the controller panel for Smart Panels app
[OPT-6304] Configuring a process in the process overview page doesn't work if owner was set via API
Status | Original: Open [ 1 ] | New: In Development [ 10312 ] |
Assignee | New: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] |
Assignee | Original: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] | New: Joshua Windels [ joshua.windels ] |
Status | Original: In Development [ 10312 ] | New: In Review [ 10212 ] |
Status | Original: In Review [ 10212 ] | New: In Development [ 10312 ] |
Assignee | Original: Joshua Windels [ joshua.windels ] | New: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] |
Status | Original: In Development [ 10312 ] | New: In Test [ 10004 ] |
Assignee | Original: Giuliano Rodrigues Lima [ giuliano.rodrigues-lima ] | New: Cigdem Ilhan [ cigdem.ilhan ] |
Assignee | Original: Cigdem Ilhan [ cigdem.ilhan ] | |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Test [ 10004 ] | New: Done [ 10010 ] |