Hello,

after I installed webform2sugar, saving a webform shows these messages every time, regardless of whether I've typed in a Campaign ID or not:

* warning: pg_query() [function.pg-query]: Query failed: ERROR: null value in column "sugar_user" violates not-null constraint in /srv/www/mysite/includes/database.pgsql.inc on line 139.
* user warning: query: webform2sugar_nodeapi INSERT INTO webform2sugar (vid, campaign) VALUES (43, '') in /srv/www/mysite/sites/all/modules/webform2sugar/webform2sugar.module on line 235.

If I type in a Campaign ID, it is not saved, and it fails to show the SugarCRM campaign fields.

Thanks,
Antonis Kanouras

Comments

rurri’s picture

Status: Active » Needs work

This has been fixed in version 7.x-4. Will need a backport back to 6.x-3

rurri’s picture

Status: Needs work » Fixed

Backport checked in and fixed in version 6.x-3-0

rurri’s picture

Status: Fixed » Closed (fixed)