Closed (fixed)
Project:
Address
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2016 at 13:48 UTC
Updated:
22 Feb 2017 at 20:25 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ransomweaver commentedI confirm this problem; I see it when I do drush config-import. I have the need to export config and commit to VCS so that collaborators can import it, and if the file address.address_format.ZZ.yml is in the imported config, I get this error:
exception 'Drupal\Core\Entity\EntityStorageException' with message 'The 'ZZ' address format can't be deleted.' in modules/contrib/address/src/AddressFormatStorage.php:19
My solution is to gitignore address.*ZZ.yml in my config directory
Comment #3
bojanz commentedSo we either need to replace the isUninstalling() check with isSyncing(), or have both. Needs research.
Comment #4
R.Muilwijk commentedThe attached patch let's me import the config on site-install.
Comment #5
mglamanRan into this, as well. Fixing issue status.
Comment #6
mglamanI believe this happens when you reset the site's UUID, so it will delete the format ZZ since the site's UUID does not match, but a new one will import.
Comment #7
mglamanYep! This does the trick :D
Comment #8
bojanz commentedImproved the fix and committed.
Comment #11
R.Muilwijk commented