The Needs Review Queue Bot β tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.
Consult the Drupal Contributor Guide β to find step-by-step guides for working with issues.
- πͺπΈSpain pcambra Asturies
The patch here sort of works, but even if TermName.php loads the entity, the query by name will be broken as it will look the name *without* dash.
Workaround for now is to use https://www.drupal.org/project/views_taxonomy_term_name_into_id β + https://www.drupal.org/project/views_taxonomy_term_name_into_id/issues/3... β¨ Support term names containing spaces and dashes Needs work as pointed by @dww on #2
- π³π¬Nigeria chike Nigeria
Patch #43 is working for me in Drupal 9.
Meanwhile having any special character like a bracket, asterisk, apostrophe, etc in the name will throw a WSOD.
- π³π¬Nigeria chike Nigeria
Well looks like #43 has not gotten me out of this. I have a term 'color' and it has among its children 'color-code' and 'color-scheme' then I go on views page /color and it is showing /color-scheme once 'Transform dashes in URL to spaces in term name filter values' is turned on.
- π³π¬Nigeria chike Nigeria
Haha, I took off the patch, updated core to 9.5.10 and updated all modules (not sure if this counted). Then I fiddled with the view again and boom! all is working perfectly. All I did was reorder the contextual filters and with 'Transform dashes in URL to spaces in term name filter values' turned on, I am getting the desired results. No patches applied.