Skip to content
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

[MAGETWO-85227]:+ This commit fixes a incorrect fetch of column value… #18060

Closed
wants to merge 3 commits into from

Conversation

jspoe
Copy link

@jspoe jspoe commented Sep 14, 2018

[MAGETWO-85227]:+ This commit fixes a incorrect fetch of column values on a loaded collection

Description

Clones a unloaded collection for the grid to use.
Resets the collection limit to remove the limit of the collection

Fixed Issues (if relevant)

  1. Couldn't select all items on Review grid #12594: Couldn't select all items on Review grid

Manual testing scenarios

  1. login Magento admin
  2. from main menu, select MARKETING -> User Content -> Reviews
  3. select Select All under Actions checkbox

Expected Result
All review items are selected.

  1. login Magento admin
  2. from main menu, select MARKETING -> User Content -> Reviews
  3. select Select all visible under Actions checkbox

Expected Result
Only visible review items are selected.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

…s on a loaded collection

+ Clones a unloaded collection for the grid to use.
+ Resets the collection to remove the limit of the collection
@magento-engcom-team
Copy link
Contributor

Hi @jspoe. Thank you for your contribution
Here is some useful tips how you can test your changes using Magento test environment.
Add the comment under your pull request to deploy test or vanilla Magento instance:

  • @magento-engcom-team give me test instance - deploy test instance based on PR changes
  • @magento-engcom-team give me {$VERSION} instance - deploy vanilla Magento instance

For more details, please, review the Magento Contributor Assistant documentation

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Sep 14, 2018

CLA assistant check
All committers have signed the CLA.

*
* @return \Magento\Framework\Data\Collection
*/
public function getUnloadedCollection()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @slavvka

See my comment in #12594 (comment)
How do you see a solution for this change? Because both won't be good enough, I think.

Copy link
Contributor

@orlangur orlangur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nowadays all changes must be applied to 2.3-develop first (see https://devdocs.magento.com/guides/v2.3/contributor-guide/contributing.html#rules). Please prepare a new pull request, this one should be on hold until the latter is merged.

@orlangur
Copy link
Contributor

Closing due to inactivity. Feel free to reach me out anytime later if you wish to continue work on this pull request and it will be reopened.
Thanks for collaboration!

@orlangur orlangur closed this Nov 19, 2018
@slavvka
Copy link
Member

slavvka commented Nov 20, 2018

Hey @jspoe Anyway this change should be applied to the latest code. Please reopen it to 2.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants