Runs with 1 error don't highlight red in WRM
workflow run manager
Looks like the code for dealing with errors is a little broken after the recent refactor of WorkflowRun: Runs with 1 error don't highlight red in the WRM because getErrorMessages always returns 0.
Can you describe how to reproduce the bug.
Sure. Open a blank worflow and hit run. This will cause one error, yet the run row won't be highlighted red.
When is setErrorMessages() called after a run? Looks like the WRM is refreshed with WorkflowRun objects constructed using provenance data?
I think it's better now after revision 23398 in trunk, let me know if that works and I'll check it into the branch as well.
Did a couple quick tests and it works here, thanks. Nothing to check into the branch since r23398 is just changes to wrp, provenance and wrm.
Original Bugzilla ID was 4888
Also available in: Atom