-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Fix importFromArray by setting _isCollectionLoaded to true after import #21869
Fix importFromArray by setting _isCollectionLoaded to true after import #21869
Conversation
Hi @slackerzz. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
Hi @rogyar, thank you for the review. |
feef697
to
4082a76
Compare
4082a76
to
0de4572
Compare
Hi @slackerzz, thank you for your contribution! |
Accepted Public Pull Requests: - #22422: Backport - Fix importFromArray by setting _isCollectionLoaded to true after import #21869 (by @slackerzz) - #22282: [Backport] Fixed "Please specify the admin custom URL" error on app:config:import CLI command (by @davidalger) Fixed GitHub Issues: - #21868: Method importFromArray from \Magento\Eav\Model\Entity\Collection\AbstractCollection doesn't return a working collection (reported by @slackerzz) has been fixed in #22422 by @slackerzz in 2.2-develop branch Related commits: 1. e1f91d1 - #15090: app:config:import fails with "Please specify the admin custom URL." (reported by @BlitzInternet) has been fixed in #22282 by @davidalger in 2.2-develop branch Related commits: 1. e12eeaa
Description (*)
Method
\Magento\Eav\Model\Entity\Collection\AbstractCollection::importFromArray()
returns an unusable collection because its property_isCollectionLoaded
isfalse
and every interaction throw an exception as described in #21868.Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)