getAliasByPath() is not returning URL alias properly due to core caching issue

Created on 28 March 2023, about 1 year ago
Updated 10 June 2024, 7 days ago

Problem/Motivation

I have my custom site in which I am using taxonomy terms in the views better exposed filter. My site is a multilingual site and having 2 levels And for displaying the list item i am using a selectric library. But by selecting this filter some times I am getting a wrong URL. I am using the getAliasByPath() function.

Steps to reproduce

Create a multilingual site with 2 level of language fallback
Use better exposed filter in view to display taxonomy terms items.
Use selectric library to display list items.
Try to do the filtering some time u will be in a scenarion in which URL Alias is coming as Parent's URL.

Proposed resolution

By disabling the AliasManager core caching we can solve this issue.

🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Path 

Last updated 6 days ago

  • Maintained by
  • 🇬🇧United Kingdom @catch
Created by

🇮🇳India PrathameshT

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024