Domain Relationships tree not refreshed when domain status is changed e.g. when domain status is set to inactive it will still appear as active in the cached tree.

Will need to clean cached version out each time domain status is changed via either domain settings form or domain batch update.

Comments

voxpelli’s picture

In domain_relationships_form_alter() we should probably add some submit handlers that includes something like:

cache_clear_all('domain_relationships_tree', 'cache');
nonsie’s picture

Status: Active » Needs review
StatusFileSize
new1.75 KB

Possible patch attached. I'm not particularly fond of the solution to deal with batch form submission but we should only clean cache for 4 cases and not for all hook_domainbatch implementations.

nonsie’s picture

Status: Needs review » Fixed

Committed

Status: Fixed » Closed (fixed)
Issue tags: -requires release

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