Skip to content

Kellett - refs #1081: implement new Economic Development, Tourism and Culture department term - #1093

Merged
willsstrong merged 1 commit into
kellett-realease-jun-26from
1081-implement-new-dept-name-throughout-site
Jun 26, 2026
Merged

willsstrong merged 1 commit into
kellett-realease-jun-26from
1081-implement-new-dept-name-throughout-site

Conversation

@theteknocat

@theteknocat theteknocat commented Jun 19, 2026 •

Copy link
Copy Markdown
Collaborator

What's Included

Fixes #1081

Creates the new "Economic Development, Tourism and Culture" taxonomy term (with French translation "Développement économique, du Tourisme et de la Culture") and migrates all content referencing the two old terms ("Economic Development" and "Tourism and Culture") to the new term via a hook_update_N.

Migration rules applied:

  • All content types and all language translations of each node are updated
  • Excluded: Department nodes (to be updated manually) and news nodes created before April 1, 2026, which retain their references to the old terms per requirements

Testing Instructions

After deploying and running drush updb, verify in the admin:

  • The new taxonomy term exists at /admin/structure/taxonomy/manage/department/overview
  • News releases from before April 1, 2026 still reference the old terms (and will continue to appear on the old department pages, since those pages filter by their own department term)
  • News releases from April 1, 2026 onward reference the new term (and will appear on the new department page once it is created)

Additional Notes

In the database snapshot using during development, the migration updated 24 nodes that were in DRAFT state and had never been published. Those all got a new draft revision created with the department correctly updated. As such, if and when those are ever published, they will have the correct department set already.

Deployment Steps

  1. Deploy code
  2. Run drush updb
  3. Rebuild caches

@theteknocat theteknocat linked an issue Jun 19, 2026 that may be closed by this pull request
@theteknocat
theteknocat requested review from leeomara and lgontard June 19, 2026 20:22
@theteknocat theteknocat self-assigned this Jun 19, 2026
Comment thread docroot/modules/custom/yukon_taxonomy/yukon_taxonomy.install
@leeomara

Copy link
Copy Markdown
Member

I added this note to #1081, but here might be more appropriate:

There are a number of views that expose the Department term for filtering. What is the plan there? Continue showing all the terms (new and old), hide the old, or something else?

@willsstrong
willsstrong changed the base branch from main to kellett-realease-jun-26 June 26, 2026 18:16
@willsstrong
willsstrong merged commit e0afc78 into kellett-realease-jun-26 Jun 26, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement new dept name throughout site

3 participants