-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EZP-31110: Fixed URLAlias utilizing tree_root.location_id
and place at site root
options
#3065
Conversation
tree_root.location_id
optiontree_root.location_id
option
tree_root.location_id
optiontree_root.location_id
option
Is this perhaps a misunderstanding of the feature? Afaik "place at site root" is badly named, it really is about "place at content root" as repo for the most part knows nothing about what a site is. We should maybe check with what legacy did here, and if we want a site root feature then we either need to let user pick site it should be on to deduct path based on root location of that site. Or in the case of virtual URL's like what you are proposing here, then we need to make it clear it will be available in all sites, even if content might not be available. |
Isn't it how it behaves? Site root (cuts URL when creating custom URL) = content root if option
Why would it be available? If the SA has such Content available due to .yml config param mentioned above it should match. If we have a Custom URL: |
tree_root.location_id
optiontree_root.location_id
option
tree_root.location_id
optiontree_root.location_id
and place at site root
options
TBH a bit unsure, but I can't remember legacy having to do two lookups to UrlAlias like this so might need a look by Engineering / PM on how this feature is intended to behave. /cc @SylvainGuittard |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As André mentioned, it requires PM input.
Either SylvainGuittard or bdunogier provide a specification for this feature please.
Retracting, we'll investigate the needs to decide how it should behave
Closed in favor of ezsystems/ezplatform-admin-ui#1583 |
Using
place at site root
option in case of usingtree_root.location_id
would never match any URLAlias because of$pathPrefix
being included into search whentree_root.location_id
is used. Therefore, additionaltry
has been added to account for URLAlias which might be placed at the site root.TODO:
$ composer fix-cs
).