-
Notifications
You must be signed in to change notification settings - Fork 29
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-32219: Fix ContentType sorting defaults has no effect on new created objects #146
Conversation
failed tests and code duplications are unrelated to the PR |
Confirm. Unit tests are failing on 1.0 branch as well. |
@ITernovtsiy Unit tests has been fixed in #140. However branch 1.0 is no longer supported, that's why there wasn't patch for it. Could you please change PR target branch to |
@adamwojs @ITernovtsiy in fact it could be rebased to 1.2 since 1.1 is past EOM also (https://support.ibexa.co/Public/Service-Life), unless this is a customer issue I suppose. |
You are right @micszo. My bad. |
Great, rebased to
I have extended and fixed this service in project code, so it's not an issue for the customer anymore) Thanks. |
Kudos, SonarCloud Quality Gate passed! |
@ITernovtsiy should your change fix the issue for content created before fix? |
@bogusez No, and I don't think it's possible, as you'll not be able to determine where content sorting was intentionally changed to Name/Asc, and where it was a result of the bug. |
Ok thank you, just wanted to make sure. |
Thank you for contribution @ITernovtsiy! |
Steps to reproduce:
Expected result:
Sub-items sorting for new content should have the same value as one that has been set in ContentType.
Actual result:
Sub-items sorting for new content is not the same as one that has been set in this ContentType.
Checklist:
$ composer fix-cs
).@ezsystems/php-dev-team
).