While editing a cck field, when I click on Custom Permissions, no options is displayed.
Moreover when I go to admin/reports/fields/permissions page, following error are displayed:

Notice: Undefined index: comment_node_product in _field_ui_bundle_admin_path() (line 320 of /foo/modules/field_ui/field_ui.module).
Notice: Undefined index: comment_node_product in field_permissions_overview() (line 357 of /foo/sites/all/modules/field_permissions/field_permissions.admin.inc).

Any advise, please, to fix?


David_Rothstein’s picture

If this occurs when using the LoginToboggan module, then it sounds like it may be due to #1407564: CSS conflict with logintoboggan, prevents using Custom Permissions (field_permissions module)?

mariacha1’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

Going to close this as a duplicate... Sounds like there's a conflict with login toboggan's javascript and the fact that all user permissions are displayed using the "theme_user_admin_permissions" function, which uses the id of "permissions".

The additional error is solved by #2257833: Notice: Undefined index: in field_permissions_overview .