-
Notifications
You must be signed in to change notification settings - Fork 203
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
Fix EZP-28099: Wrong Urls at equal beginning path prefixes #2083
Fix EZP-28099: Wrong Urls at equal beginning path prefixes #2083
Conversation
would need some additional tests for this, @alongosz maybe you have an idea where that might fit? |
Hello, sorry for the delay, busy Sprint ;)
and under the second one you have e.g. Article called Imprint? If so, what is the next step that results in this wrong URL? |
You need a siteaccess with root location "eZ Platform". |
Ok, I was able to confirm that. I'll take a closer look at the solution and proper place to improve tests as soon as possible. |
336b114
to
9fb8507
Compare
I rebased and created a issue: https://jira.ez.no/browse/EZP-28099 |
@blankse Yes you could, but we're still missing some test case. Sorry I wasn't able to help you with this, but my work queue has been full for several months now. |
@blankse yes, 6.7 is good for this one. As for tests, adding a new test case to cover this should be sufficient, in: As usual make sure it fails before this fix so it captures the issue ;) |
9fb8507
to
17ef664
Compare
17ef664
to
fc4c742
Compare
@andrerom @alongosz I rebased to 6.7 and added a test case . It failed without the patch:
|
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.
+1 but it needs QA IMHO
How long will the QA take? Will it still be part of v7.4.0? |
Yes, I think it will be. |
Verified with sanities on v1.7.8 and v1.13.4. |
@andrerom can you take over on merging this up to 6.13, 7.3 and master? |
@lserwatka not today, but can look into it tomorrow |
JIRA: https://jira.ez.no/browse/EZP-28099
If you have 2 path prefixes that starts with the same name.
e.g.
And generate a link from the short path prefix to the large. The url is generate without leading slash and with half path prefix.
e.g.
-Enterprise/Imprint
instead of
/eZ-Platform-Enterprise/Imprint