There is an issue with the Devel module conflicting with the Dashboard module. At admin/structure/dashboard blocks can be successfully placed into dashboards regions. However, at admin/dashboard dragged blocks don't retain their new location. This is because the Devel module, which has the "switch user" block, is converting underscores to hyphens when blocks are rearranged on the dashboard, affecting block CSS IDs and block deltas.
Steps to replicate:
- Go to the block admin style UI (admin/structure/dashboard) and move the 'switch user' block into one of the dashboard regions (sidebar).
- Go to the dashboard UI (admin/dashboard). The block is in the sidebar.
- Click configure.
- Drag the block to the main content region.
- Click 'Done'.
module-<module name> and
delta-<delta> classes to enabled blocks.
Patch in #16 implements this fix for D7 and D8.
- Patch in #16 is RTBC.
- Patch needs backport to D7.
User interface changes
Two additional CSS classes will be available on dashboard blocks:
delta-N. Blocks will be correctly ordered based on these classes.
Original report by [joachim]
At admin/structure/dashboard I can place blocks into two dashboard regions, yet at admin/dashboard I still appear to be free to move them around to either region ... except that when I click 'Done', the ones set at the first page snap back.
This is confusing. In fact, the whole business of having two pages is confusing -- the UI doesn't explain why there are two and how they relate to each other.
PASSED: [[SimpleTest]]: [MySQL] 40,921 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 39,354 pass(es).
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 936798-36-dashboard-malformed_module_name.patch. Unable to apply patch. See the log in the details link for more information.
FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch 936798-30-dashboard-block_ordering.patch. Unable to apply patch. See the log in the details link for more information.
PASSED: [[SimpleTest]]: [MySQL] 36,808 pass(es).