Closed (fixed)
Project:
Address
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2015 at 11:04 UTC
Updated:
20 Sep 2015 at 06:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dbolinovski commentedComment #3
dbolinovski commentedOverriding delete() from ConfigEntityStorage.
Comment #5
bojanz commentedCommitted, thanks.
I swapped the delete() method in the storage for a doDelete() one because in delete() $entities are not guaranteed to be keyed by id.
Comment #6
joshtaylor commentedThis now means that address cannot be uninstalled.
Comment #7
bojanz commentedWow :)
This is the triggering code:
So our checks need to also check $entity->isUninstalling().
Comment #9
joshtaylor commentedCan now uninstall.
Comment #10
joshtaylor commented