If you set up front_page to manage the front page for a role and then remove that role, the admin/config/front/arrange page gives a notice:

Notice: Undefined index: name in front_page_admin_arrange_form() (line 190 of /var/www/milk/sites/all/modules/front/front_page.admin.inc).

Steps to reproduce:

  1. Create a role admin/people/permissions/roles
  2. Set the front page module to handle the front page for the role you just created admin/config/front/settings
  3. Remove the role that you created in step 1 admin/people/permissions/roles/edit/n (where n is the rid)
  4. Check the front page arrange tab admin/config/front/arrange
CommentFileSizeAuthor
#1 front-role_deletion-1814400-1.patch441 bytesSimon Georges
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Simon Georges’s picture

Version: 7.x-2.1 » 7.x-2.x-dev
Status: Active » Needs review
FileSize
441 bytes

That should be better with this patch: Front page configuration of the role is deleted when the role is deleted.

Simon Georges’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.