Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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:
- Create a role
admin/people/permissions/roles
- Set the front page module to handle the front page for the role you just created
admin/config/front/settings
- Remove the role that you created in step 1
admin/people/permissions/roles/edit/n
(where n is the rid) - Check the front page arrange tab
admin/config/front/arrange
Comment | File | Size | Author |
---|---|---|---|
#1 | front-role_deletion-1814400-1.patch | 441 bytes | Simon Georges |
Comments
Comment #1
Simon Georges CreditAttribution: Simon Georges commentedThat should be better with this patch: Front page configuration of the role is deleted when the role is deleted.
Comment #2
Simon Georges CreditAttribution: Simon Georges commentedCommitted.