localgovdrupal / localgov_geo

Entity for storing Geographic information, addresses, and areas; extensible types and plugable backends with defaults to start.
2 stars 1 forks source link

[2.x] Config for the localgov_directory_channel view, but we can fix this with an update hook #80

Closed ekes closed 10 months ago

ekes commented 1 year ago
          Just one bug with the config for the localgov_directory_channel view, but we can fix this with an update hook so let's get this merged and release an alpha

_Originally posted by @stephen-cox in https://github.com/localgovdrupal/localgov_geo/pull/77#pullrequestreview-1543559629_

ekes commented 1 year ago

@stephen-cox Steps to reproduce:-

stephen-cox commented 1 year ago

This occurs because the localgov_directory_channel view is not getting updated during the Geo Entity migration and still contains references to the old localgov_geo entity.

To reproduce:

git checkout 2.x
composer update
drush si localgov --yes
drush en localgov_directories_venue localgov_directories_db localgov_geo_update --yes
# Check /admin/structure/views/view/localgov_directory_channel/edit/embed_map
git checkout 3.x
composer update
drush updb --yes
drush cr
# Check /admin/structure/views/view/localgov_directory_channel/edit/embed_map