Hi i deleted a contact and now I get this message every time I try to enter my dashboard link.

Fatal error: Call to a member function label() on a non-object in /home/merchiac/public_html/crmiac.com/sites/all/modules/redhen/modules/redhen_note/includes/redhen_note.entity.inc on line 49

Comments

levelos’s picture

Title: Issue when deleting contact » Delete a note when a parent entity is deleted
Status: Active » Fixed

This is actually caused by a note not being deleted when its parent entity is. Thanks for helping us catch it. Fix committed.

Stellanhaglund’s picture

Hi and thanks a lot!

I have updated to the new branch though this error is still there, is there something I can do to remove it?

Thanks,

levelos’s picture

You'll need the code either form git or wait until the nightly snapshot is built. Then make sure and clear cache.

Stellanhaglund’s picture

I can delete notes now but now the error says
Fatal error: Call to a member function label() on a non-object in /home/merchiac/public_html/crmiac.com/sites/all/modules/redhen/modules/redhen_note/includes/redhen_note.entity.inc on line 71

I suppose it has to do with the same thing.

I installed the latest packages of the dev but the error is still there.

Status: Fixed » Closed (fixed)

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

  • Commit 627b962 on 7.x-1.x, tests, redhen-donation by levelos:
    #1687778: Delete note when a parent entity is deleted.
    

  • Commit 627b962 on 7.x-1.x, tests, redhen-donation, relation-roles by levelos:
    #1687778: Delete note when a parent entity is deleted.