-
Notifications
You must be signed in to change notification settings - Fork 14
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
IBX-3957: Made NOP URL aliases not reusable and original #350
Conversation
Quality Gate passedIssues Measures |
5337dfd
to
d1663c4
Compare
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.
QA approved on IbexaDXP 5.0 commerce.
It should not be possible to rebase this onto the current |
Did you mean "It should now be possible" ? :) |
d1663c4
to
51dfca1
Compare
Yeah... it's a typo... 😊 |
@Steveb-p CI fails due to PHPStan issues, this might be caused by the new |
45a4e65
to
a213b64
Compare
Quality Gate passedIssues Measures |
For more details see https://issues.ibexa.co/browse/IBX-3957 and #350 Breaking change: if there exists a custom URL alias having a path "/a/b" where "a" is a virtual (NOP) entry - not pointing to any content - renaming or creating another content on the same level using a colliding name - "a" in this case - will result in actually creating "/a2" entry, as "/a" is already taken by "/a/b" path.
v5.0
Reasoning: because
nop
aliases are not original and they are reusable creating another alias with the same name will break such an alias, however, imo it should be incremented instead. This will prevent creating exactly the same alias with the same parent and as a result, breaking the old one.Maintainer updates:
Documentation
Breaking change: if there already exists a custom URL alias having path
/a/b
wherea
is a virtual (NOP
) entry - not pointing to any content - renaming or creating another content on the same level using a colliding name -a
in this case - will result in actually creating/a2
entry, as/a
is already taken by/a/b
path.(not sure if wording is good here, might need improvement)
QA
More reasoning behind changes and description what happens was provided here ezsystems/ezplatform-kernel#385 (comment)
We need to test system behavior, find things we missed, edge cases, etc.
Checklist:
$ composer fix-cs
).@ezsystems/engineering-team
).