Add Event for subscription to possible error when updating content

Created on 10 September 2024, 3 months ago

Problem/Motivation

Because sometimes there are situations when you need to somehow process errors that arise in updating the content, it became necessary to affect to the module code externally.

Steps to reproduce

I can suggest a patch which will add a custom Event to the module to have a possibility to subscribe on it in custom module and process possible errors.

The code of the patch includes the code of the another issue https://www.drupal.org/node/3465837

Feature request
Status

Needs work

Version

3.10

Component

Code

Created by

🇵🇱Poland ilya.goroshkov Warsaw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

  • Issue created by @ilya.goroshkov
  • 🇮🇪Ireland lostcarpark

    This sounds like a useful addition.

    However, patch files are no longer tested by GitLab CI, so it will need to be converted to a merge request for code quality checks and tests to run.

    Furthermore, I would like to see test coverage for new features, particularly features that aren't widely used, to ensure regression testing occurs in future changes.

    If anyone has capacity to convert the patch to a MR, please go ahead.

    It would also be really helpful to outline the steps to test this feature.

  • First commit to issue fork.
  • Pipeline finished with Failed
    10 days ago
    Total: 174s
    #366733
Production build 0.71.5 2024