I'm getting the following message after enabling Simplenews, simplenews access, simplenews action and drupal core actions modules within Drupal 7 alpha 5
Notice: Undefined index: label in actions_synchronize() (line 292 of /var/www/glasvezel.biz/public_html/includes/actions.inc).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'label' cannot be null: INSERT INTO {actions} (aid, type, callback, parameters, label) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4); Array ( [:db_insert_placeholder_0] => simplenews_cron_action [:db_insert_placeholder_1] => simplenews [:db_insert_placeholder_2] => simplenews_cron_action [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => ) in actions_synchronize() (line 294 of /var/www/glasvezel.biz/public_html/includes/actions.inc).
The website encountered an unexpected error. Please try again later.
Please let me know if you need more information or testing.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 809276.patch | 2.32 KB | simon georges |
Comments
Comment #1
simon georges commentedClosing #853314: Database error when installing on drupal 7 alpha6 as a duplicate of this one.
Comment #2
simon georges commentedClosing #962906: error message during module install as a duplicate of this one.
Comment #3
simon georges commentedOk, I've finally understood, thanks to the documentation at Converting 6.x modules to 7.x :
Anyway, patch provided, it seems to work for me (at least the declarations of actions).
Comment #4
miro_dietikerCommitted this as a first step.
Please check that/if it works (since i didn't).
Followup is
#964614: Replacement of hook_hook_info() by hook_trigger_info()