Closed zackdavies closed 2 weeks ago
Thanks @zackdavies I can confirm this allows uninstall and reinstall.
I noticed that pathauto.pattern.localgov_newsroom.yml
doesn't have the enforced dependency, where as pathauto.pattern.localgov_news.yml
does. Maybe thats whats causing the error? There are two content types, news article and newsroom.
Thanks Andy. Silly me, I've updated the YML and removed the uninstall hook and it works as intended.
Thanks Andy. Yes, if there's existing content you run into problems, but that seems intentional and out of the scope of this ticket. Can I merge this now, or do we wait for Merge Tuesday?
I thin this is mergable
Relates to https://github.com/localgovdrupal/localgov_news/issues/94 . Remove Pathauto settings, and add a field dependency on the module so that it uninstalls correctly.