flowable-engine icon indicating copy to clipboard operation
flowable-engine copied to clipboard

#3094 triggerable bpmn error

Open martin-grofcik opened this issue 4 years ago • 7 comments

Check List:

  • Unit tests: YES
  • Documentation: NA

martin-grofcik avatar Nov 21 '21 09:11 martin-grofcik

@tijsrademakers @jbarrez @filiphr : Is there any reason why pull request is not merged?

martin-grofcik avatar Jan 19 '22 08:01 martin-grofcik

@martin-grofcik this PR is a good improvement, but we are missing the ServiceTaskFutureJavaDelegateActivityBehavior and ServiceTaskJavaDelegateActivityBehavior changes in the same way as you did it now for the expression variant. Can you also make sure unit tests are added for these behaviors as well?

tijsrademakers avatar Jan 19 '22 08:01 tijsrademakers

Hi @tijsrademakers,

ServiceTaskFutureJavaDelegateActivityBehavior

Are already covered by catchErrorThrownByTriggerableFutureJavaDelegateProvidedByDelegateExpressionOnServiceTask . The trigger method invocation is handled by 'ServiceTaskDelegateExpressionActivityBehavior'

ServiceTaskJavaDelegateActivityBehavior

Test classDelegateTriggerBpmnException and exception is caught by ClassDelegate.

martin-grofcik avatar Feb 06 '22 08:02 martin-grofcik

I went through your changes @martin-grofcik, why did you add the ActivitiAgenda to the flowable-engine module?

filiphr avatar Feb 07 '22 07:02 filiphr

Hi @filiphr, yes ActivitiAgenda was added by mistake during the merge and also leave. Fixed now, thanks.

martin-grofcik avatar Feb 07 '22 10:02 martin-grofcik

@filiphr Is leave on the correct place now?

martin-grofcik avatar Feb 14 '22 07:02 martin-grofcik

@filiphr any update?

martin-grofcik avatar Mar 30 '22 07:03 martin-grofcik

As I also worked on BPMNErros for #3452 I looked through the changes and think they are fine as they are now. Would be good to have those in for 6.8.0 to round up the whole BPMNError story.

arthware avatar Oct 12 '22 08:10 arthware