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

Fix issue 19052- Position order showing before the text box #19056

Merged
merged 1 commit into from
Jan 4, 2019

Conversation

speedy008
Copy link
Contributor

@speedy008 speedy008 commented Nov 3, 2018

Description (*)

You will find the position order showing before the text box as well when we can find the same value in textbox as well.

Fixed Issues (if relevant)

  1. Position order showing before the text box #19052: Position order showing before the text box

Manual testing scenarios (*)

  1. Catalog > Category > Choose any category > Go to Product in category tab > Assign products.
  2. Product position order before textbox.

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)

@magento-engcom-team magento-engcom-team added Partner: Krish TechnoLabs partners-contribution Pull Request is created by Magento Partner labels Nov 3, 2018
@magento-engcom-team
Copy link
Contributor

Hi @speedy008. 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

@@ -55,9 +55,6 @@ public function render(DataObject $row)
{
if ($this->getColumn()->getEditable()) {
$result = '<div class="admin__grid-control">';
$result .= $this->getColumn()->getEditOnly() ? ''
Copy link
Contributor

Choose a reason for hiding this comment

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

Hi @speedy008. Thanks for collaboration. I am not sure that removing code is a valid fix for this issue. I see that here we have a checking getEditOnly(). Maybe the reason of this problem that the value returned from getEditOnly is wrong?

Also, it's abstract renderer class and I am not sure that fix should be in this place. This class is using in a lot of places, but problem we have only on the Assign products grid

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @VladimirZaets
Thanks for your genuine response.
I will update code with proper solution and update it as early as possible.

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Nov 14, 2018

CLA assistant check
All committers have signed the CLA.

@speedy008
Copy link
Contributor Author

Hi @VladimirZaets Could you please check what cause failed travis?

Thanks,

@sidolov
Copy link
Contributor

sidolov commented Nov 22, 2018

Hi @speedy008 , looks like you made some commits with email different than in your GitHub profile, please, add email from commits to your profile!
Thank you!

@sidolov
Copy link
Contributor

sidolov commented Nov 22, 2018

Hi @VladimirZaets Could you please check what cause failed travis?

Thanks,

Travis failure caused by changes provided in the PR.
Failed unit test: Magento\Backend\Test\Unit\Block\Widget\Grid\Column\Renderer\AbstractRendererTest::testRender

@speedy008
Copy link
Contributor Author

Hi @VladimirZaets
I have updated code.

@magento-engcom-team
Copy link
Contributor

Hi @VladimirZaets, thank you for the review.
ENGCOM-3766 has been created to process this Pull Request

@sidolov sidolov changed the base branch from 2.2-develop to 2.3-develop January 3, 2019 15:16
@sidolov sidolov changed the base branch from 2.3-develop to 2.2-develop January 3, 2019 15:17
@magento-engcom-team magento-engcom-team merged commit 9e1459a into magento:2.2-develop Jan 4, 2019
@ghost
Copy link

ghost commented Jan 4, 2019

Hi @speedy008, thank you for your contribution!
Please, complete Contribution Survey, it will take less than a minute.
Your feedback will help us to improve contribution process.

@magento-engcom-team
Copy link
Contributor

Hi @speedy008. Thank you for your contribution.
We will aim to release these changes as part of 2.2.8.
Please check the release notes for final confirmation.

Please, consider to port this solution to 2.3 release line.
You may use Porting tool to port commits automatically.

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