Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
dashboard.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Sep 2010 at 16:28 UTC
Updated:
11 Oct 2010 at 01:00 UTC
If you go to admin/structure/dashboard and submit the form, you get that message twice (and the form submit handler actually runs twice).
The reason is that the dashboard module and block module share this form via hook_forms(). Previously, submit handlers were not automatically shared via that method, so the dashboard.module explicitly added the submit handler it needed. A recent core change, though, made it so the submit handler is inherited automatically, and therefore all we need to do to fix this is remove that code from the dashboard module, as in the attached patch.
| Comment | File | Size | Author |
|---|---|---|---|
| dashboard-double-submit-handler.patch | 862 bytes | David_Rothstein |
Comments
Comment #1
tobiasbComment #2
dries commentedCommitted to CVS HEAD. Thanks.