[Issue] Set shared=false for SortOrderBuilder #35939
Labels
Area: Admin UI
Component: Ui
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Priority: P2
A defect with this priority could have functionality issues which are not to expectations.
Progress: done
Reported on 2.4.x
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Projects
This issue is automatically created based on existing pull request: #35848: Set shared=false for SortOrderBuilder
Using a shared instance for this builder easily causes unwanted side effects
Description (*)
The builders do not need to be shared as per their definition. If a builder is shared, it can causes side effects.
While the actual effect was not reproducible on a vanilla Magento instance, the bug is quite obvious.
In our case the sorting of the customer grid in the admin panel did not have any effect, because the UiComponent building process interfered with
\Magento\Customer\Model\GroupManagement::getLoggedInGroups
Manual testing scenarios (*)
I was not able to reproduce this on Vanilla Magento.
On our instance the repro steps were like this:
Questions or comments
I hope this does not go the good old "can reproduce" loop. The issue should be clear. Please merge.
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: