views_url_alias not updated when Patchauto updates alias for Taxonomy Term

Created on 20 March 2024, 8 months ago
Updated 22 March 2024, 8 months ago

Problem/Motivation

I expect that views_url_alias will be updated when I path alias has changed. However it is not, at least for Taxonomy term on Drupal 10.2

Steps to reproduce

Make sure you have patchauto setup for Taxonomy vocabulary and you have some Terms with automatically generated URL aliases. (Checkbox "Generate automatic URL alias" for Term is checked).
1. Install the module.
2. Check the database table views_url_alias, observe your terms aliases there.
3. Go to Term edit form and change the title of the term. (I suppose your URL Alias depends on Term name).
4. Observe Term alias has changed after Term form save.
5. Check the views_url_alias table.
6. Observe appropriate term Alias NOT changed.
7. Go to /views/settings/alias and re-build the terms.
8. Observe appropriate term Alias has changed.

Expected - URL Alias must be created/updated/deleted in views_url_alias table after Taxonomy term form saving.

Proposed resolution

N/A

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada dstorozhuk Chicago πŸ‡ΊπŸ‡Έ, Toronto πŸ‡¨πŸ‡¦, Kyiv πŸ‡ΊπŸ‡¦

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024