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

bforchhammer’s picture

I have the same problem... have you found any kind of workaround or solution, mrfelton?

bforchhammer’s picture

Hm, 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.

seanberto’s picture

indytechcook’s picture

indytechcook’s picture

Status: Active » Closed (cannot reproduce)

Closing due to inactivity.