I have a feature that defines a bean type (create with the Bean Admin UI), and includes the permissions for that bean type. However, when trying to install on a new site, I get the following
Notice: Undefined index: create any concern_base_block bean in user_role_grant_permissions() (line 3028 of /Users/tom/workspace/concern7/modules/user/user.module).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'module' cannot be null: INSERT INTO {role_permission} (rid, permission, module) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 30037204 [:db_insert_placeholder_1] => create any concern_base_block bean [:db_insert_placeholder_2] => ) in user_role_grant_permissions() (line 3030 of /Users/tom/workspace/concern7/modules/user/user.module).
Seems like the bean isn't getting created early enough. Not sure if this is a problem with Bean, or a more general Features problem.
Comments
Comment #1
bforchhammer CreditAttribution: bforchhammer commentedI have the same problem... have you found any kind of workaround or solution, mrfelton?
Comment #2
bforchhammer CreditAttribution: bforchhammer commentedHm, this is probably related to #1357262: Unable to include feature that contains a bean type in an installation profile which has been attributed to a problem in features.
Comment #3
seanberto CreditAttribution: seanberto commentedI believe that this is addressed in http://drupal.org/files/features_1537838_features_get_components_14.patch
Comment #4
indytechcook CreditAttribution: indytechcook commentedDoes the patch on issue fix your issues? #1537838: Upgrading to 7.x-1.0-rc2 (from rc1) breaks taxonomy creation
Comment #5
indytechcook CreditAttribution: indytechcook commentedClosing due to inactivity.