Path alias throws and error because source path needs to start with a slash

Created on 19 April 2019, almost 6 years ago
Updated 28 January 2025, 26 days ago

I used a search view with ajax enabled and facets. Had an error in console that source path needs to start with a slash in checkProtectedPage. The getAliasByPath was returning the absolute url. I changed that part of the code and the error was gone.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇸🇮Slovenia deaom

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.71.5 2024