You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixing Config\Loader to not depend on broken cloning Proxy logic
Config/Loader was getting Config\Data\Collection from deprecated getCollection() method which was cloning a Proxy of a Collection which was causing the Collection object to have state in some cases which is totally broken. Switched to using CollectionFactory as per technical guidelines and deprecated warnings.
Also modified AbstractModel to prefer Service Locator Pattern over cloning Collection to try to avoid other unclean Collections being returned by this broken deprecated method.
0 commit comments