Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This somehow occurred on our project with the GDPR module's checklist page, when a user that last changed it was deleted from the system. Below I am attaching a patch to add a simple null check and prevent breaking entire pages because of this.
Comment | File | Size | Author |
---|---|---|---|
#2 | checklistapi_null_check_3074254-1.patch | 646 bytes | maticb |
Comments
Comment #2
maticb CreditAttribution: maticb commentedComment #3
krina.addweb CreditAttribution: krina.addweb at AddWeb Solution Pvt. Ltd. commented@maticb, Could you elaborate more, As if which change in a checklist will cause this error, or provide me the steps which help me to reproduce the actual case.
Thanks
Comment #5
TravisCarden CreditAttribution: TravisCarden as a volunteer commentedThanks, @maticb! I've fixed this with a24fd18 in 8.x-1.x. If you need a patch for your build system, use https://git.drupalcode.org/project/checklistapi/commit/a24fd18.patch.