1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #876 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Duplicate sidebar blocks

Reported by: nivekiam Owned by: tnalmdal
Priority: minor Milestone: 3.0 RC 1
Version: GIT HEAD Keywords:
Cc:

Description

If you deactivate a module and reactivate a module you end up with duplicate blocks in the sidebar. This appears to get "fixed" if you go to Admin > Appearance > Manage sidebar and move any block to have the settings re-saved.

See this thread for a possible relation:
http://gallery.menalto.com/node/92342

I'm not sure how the duplicate language settings come about as I'm not able to duplicate that. So I don't know if that's separate or related.

Change History

Changed 4 years ago by tnalmdal

  • owner set to tnalmdal
  • status changed from new to accepted

Changed 4 years ago by tnalmdal

  • status changed from accepted to closed
  • resolution set to fixed

Change the keys of the block arrays in block manager to be a md5 hash of module_name:block_id. This allows easier lookup of blocks to remove when modules are being deactivated. Change the module activation/deactivation to call (activate|deactivate)_blocks instead of just the sidebar blocks. This insures that when a module is deactivated any admin dashboard blocks are removed as well the site sideboard blocks.

Commit: http://bit.ly/1yqmuK

Note: See TracTickets for help on using tickets.