Closed (fixed)
Project:
Siteimprove.ai
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Dec 2024 at 13:19 UTC
Updated:
12 Jun 2026 at 09:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
sokru commentedThe patch contains proof-of-concept of the fix, it should be rather safe change.
Comment #3
beltofteComment #4
nicross-com commentedThanks for working on this. We found one functional issue with the original patch which can lead to an
InvalidArgumentException(invalid translation language). This updated version of the patch adds ahasTranslation()check before callinggetTranslation(). Cheers!Comment #7
beltofteThanks for the issue report and the patches. The issue is originating from Domain Access. Not sure why Domain Access in some cases cause that $entity->toUrl() returns the absolute URL with domain and not the relative URL. I have implemented a fix that is a bit different, to handle cases where the Domain Access domain plugin returns multiple domains.
Comment #8
beltofte