Hello,

For the module notifications_files to work, the notifications_message hook must be called by the notifications modules but is never called. In last dev version, the hook is called from the message_build() method, but in the last version of class herited from the messaging module 6.x-4.0-beta6, the method should be renamed only build to be called. See attached patch.

Best regards.

Guillaume

Comments

danepowell’s picture

Title: notifications_message hook never called because method message_build() should be renamed build() » hook_notifications_message_alter() never called because method message_build() should be renamed build()
Priority: Normal » Major

Haven't tested the patch yet, but I can confirm that hook_notifications_message_alter() is not being called, and this completely breaks notifications_files-6.x-4.x, so I am marking this as major. Corresponding issue in NF queue: #853308: No files sent with Mimemail sending method

Barberousse I changed the title to match, is this an accurate description of the problem? Thanks for doing the legwork on this.

danepowell’s picture

Status: Active » Reviewed & tested by the community

Okay, I did test the patch and it solves the problem- however, I'm not familiar with the 4.x architecture so I don't want to commit this myself, I'd rather Jose check off on it

verta’s picture

subscribing

markchitty’s picture

subscribing

danepowell’s picture

Issue tags: +mailflow 2.x

Tagging to keep track of issues related to the mailhandler-2.x/notifications-4.x workflow

danepowell’s picture

Turns out I don't have commit access, so I contacted Jose and requested that he commit original patch

jose reyero’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)
Issue tags: -mailflow 2.x

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