When you updating a merci nodes not from the node_form, but for example on content page by publishing or unpublishing a bunch of nodes, you get a following notices:
Notice: Undefined property: stdClass::$revision in merci_update() (line 259 of /var/www/sfcenter/sites/all/modules/contrib/merci/merci.module).
Notice: Undefined property: stdClass::$revision in merci_add_reservation_items() (line 1123 of /var/www/sfcenter/sites/all/modules/contrib/merci/includes/api.inc).
Notice: Undefined property: stdClass::$merci_original_reservation_status in _merci_email_check_send_email() (line 198 of /var/www/sfcenter/sites/all/modules/contrib/merci_email/merci_email.module).| Comment | File | Size | Author |
|---|---|---|---|
| #1 | merci_fix-updating-notices_1525348-1.patch | 1.27 KB | vlkff |
| #2 | merci_fix-updating-notices_1525348-1.patch | 1.27 KB | vlkff |
Comments
Comment #1
vlkff commenteddo not use it, the right patch is a next one
Comment #2
vlkff commentedthis is a right one -)
Comment #4
darrick commentedI've committed a fix here: http://drupalcode.org/project/merci.git/patch/ea35abc
I didn't go your route but appreciate the patch none the less. I ended up following what is done in node_save which checks to see if node->revision is empty or not.
Comment #5
darrick commented