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.

CommentFileSizeAuthor
#2 checklistapi_null_check_3074254-1.patch646 bytesmaticb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maticb created an issue. See original summary.

maticb’s picture

krina.addweb’s picture

@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

  • TravisCarden committed a24fd18 on 8.x-1.x
    Issue #3074254 by maticb: Error when last property changed by is null
    
TravisCarden’s picture

Version: 8.x-1.10 » 8.x-1.x-dev
Status: Needs review » Fixed

Thanks, @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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.