Skip to content

[Issue] Handling exception on individual callback #28167

Closed
@ghost

Description

This issue is automatically created based on existing pull request: #27134: Handling exception on individual callback


Description

This PR changes the behaviour how callbacks are executed after DB changes are committed. The issue was if there is an exception from one call back it results in failing other callbacks as well.

So put the try/catch on individual callback instead of entire foreach block.

Manual testing scenarios (*)

  1. Have multiple callbacks having one with fatal error.
  2. The subsequenct callbackss after one with fatal error won't get executed.

Metadata

Metadata

Assignees

Labels

Component: ModelFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedPriority: P3May be fixed according to the position in the backlog.Severity: S3Affects non-critical data or functionality and does not force users to employ a workaround.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions