[
https://issues.apache.org/jira/browse/ODE-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780293#action_12780293
]
Alexis Midon commented on ODE-708:
----------------------------------
fixed in 1.X, revision: 882308
> Some events might not be retried
> --------------------------------
>
> Key: ODE-708
> URL: https://issues.apache.org/jira/browse/ODE-708
> Project: ODE
> Issue Type: Bug
> Affects Versions: 1.3.2, 1.3.3
> Reporter: Alexis Midon
> Fix For: 1.3.4
>
>
> When a JobProcessor exceptions is thrown in BpelEngineImpl, the method
> BpelEngineImpl#checkRetry is invoked to determine if the job should be
> retried or not.
> checkRetry intends to return false if the job is in-memory. But the test is
> error prone:
> jobInfo.jobDetail.get("inmem") == null;
> This will false if a value is set in the map, even if the value is true.
> The test should be:
> Boolean bool = (Boolean) _jobDetail.get("inmem");
> if (bool == null) return false;
> else return bool;
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.