Details
-
Type:
Bug Report
-
Status: Closed
-
Priority:
L3 - Default
-
Resolution: Fixed
-
Affects Version/s: 7.8.0-alpha2
-
Fix Version/s: 7.8.0, 7.8.0-alpha3
-
Component/s: cockpit
-
Labels:None
Description
Steps to reproduce:
1) go to batch operation page in cockpit
2) execute for example the operation "set retries of jobs ..."
3) add the search criteria "Finished Only"
4) execute the batch operation
Problem:
The batch operation fails, but the exception message is not visible in cockpit (see attached screenshot)
Expected:
The exception message is shown.
Hint:
The same behavior can also observed in case of other batch operations.
I think ['unknown', 'payload'].indexOf(executionCtrl.getErrorType()) <= -1 can never be true as the getErrorType method always returns either payload or unknown.
We can probably get rid of the getErrorType method altogether as we don't display different messages depending on the type of the error.