Closed (fixed)
Project:
Entity Share
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
25 May 2021 at 09:02 UTC
Updated:
26 Dec 2025 at 02:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bunty badgujar commentedUse
Url::fromRoute()instead of hard code URL.Comment #4
grimreaperHello,
I understand your problem but you can't use this approach to fix it because when you are doing Url::FromRoute, it gives you the login URL of the client website and not the login URL of the server website.
It would work only if both server and client websites have the login URL altered the same way.
A much more flexible solution would be to add a new attribute into the Remote config entity to store the login URL path so it can be configurable per remote website.
Comment #5
grimreaperBack to "active" as the approach in the MR is not ok.
Comment #6
grimreaperComment #7
grimreaperComment #9
grimreaperNeed to write dedicated tests with rename_admin_paths.
Also this feature will have to wait for a 4.0.x branch due to interface change.
Comment #10
grimreaperComment #11
grimreaperIssue and change record (https://www.drupal.org/node/3248639) ready for 4.0.x.
Comment #12
grimreaperComment #13
grimreaperNormally the tests on D10 will fail because rename_admin_path currently does not have a D10 compatible release. And so it will prevent merging this feature.
Comment #14
grimreaperSo it seems that Drupal CI is able to take the dev branch of rename_admin_paths automatically for D10 compatibility.
https://dispatcher.drupalci.org/job/drupal8_contrib_patches/150471/console:
Comment #16
grimreaperComment #18
kmaniThe above patch is failing for version 3.13 and update the new patch for it