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
[FrameworkBundle] Fix sorting bug in sorting of tagged services by priority #45399
Conversation
@Ahummeling if I understood correctly, it means the positive priorities are sorted correct, but negative are not? Is |
Yes you are understanding this correctly. The class responsible for sorting the output of the debug command is the |
The |
Can you please add a test case? |
Certainly, sorry should've done that before making the PR |
Fixed incorrect assumption that the minimum priority is zero leading to an unsorted list of negative priorities.
Added a test case to the relevant provider that would fail without the proposed change and updated the relevant fixtures to reflect this additional testcase. |
Thank you @Ahummeling. |
Fixed incorrect assumption that the minimum priority is zero
leading to an unsorted list of negative priorities.
Fixed an incorrect assumption that the minimum priority is zero which was leading to an unsorted list of negative priorities.
(See #45396)