Download & Extend

Custom subscriptions does not work with postgres

Project:Notifications Add-ons
Version:6.x-2.0-beta2
Component:Custom subscriptions
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review

Issue Summary

You get an error that the 'not null' constraint of 'module' is violated.

The problem can be fixed by uninstalling notifications_extra, applying this patch, which adds a default value of '' to 'module', and reinstalling notifications_extra.

I did not test with mysql, but presumed it worked. I did not include a db update action, as I presumed that postgres users would not have the module installed, since it does not work, and mysql users would not need the database change, since the code presumably already works.

AttachmentSize
notifications-extra-install.patch1.05 KB