Skip to content

Bug/ac 12310 product image hide csv import #39034

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

Open
wants to merge 12 commits into
base: 2.4-develop
Choose a base branch
from

Conversation

Mohamed-Asar
Copy link
Contributor

@Mohamed-Asar Mohamed-Asar commented Aug 10, 2024

…pdate through csv importer issue fix

Description (*)

hide_from_product_page not updating in product update through csv importer

Fixed Issues (if relevant)

Manual testing scenarios (*)

  1. Add hide_from_product_page column for any of the product image in csv file, after the import, open the product in admin and see if the image is hidden or not
  2. Remove any of the image from hide_from_product_page column and see if the hide_from_product_page attribute is removed

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)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Copy link

m2-assistant bot commented Aug 10, 2024

Hi @Mohamed-Asar. Thank you for your contribution!
Here are some useful tips on 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 give me test instance - deploy test instance based on PR changes
  • @magento give me 2.4-develop instance - deploy vanilla Magento instance

❗ Automated tests can be triggered manually with an appropriate comment:

  • @magento run all tests - run or re-run all required tests against the PR changes
  • @magento run <test-build(s)> - run or re-run specific test build(s)
    For example: @magento run Unit Tests

<test-build(s)> is a comma-separated list of build names.

Allowed build names are:
  1. Database Compare
  2. Functional Tests CE
  3. Functional Tests EE
  4. Functional Tests B2B
  5. Integration Tests
  6. Magento Health Index
  7. Sample Data Tests CE
  8. Sample Data Tests EE
  9. Sample Data Tests B2B
  10. Static Tests
  11. Unit Tests
  12. WebAPI Tests
  13. Semantic Version Checker

You can find more information about the builds here
ℹ️ Run only required test builds during development. Run all test builds before sending your pull request for review.


For more details, review the Code Contributions documentation.
Join Magento Community Engineering Slack and ask your questions in #github channel.

@m2-community-project m2-community-project bot added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label Aug 10, 2024
@m2-github-services m2-github-services added Partner: Ziffity partners-contribution Pull Request is created by Magento Partner labels Aug 10, 2024
@Mohamed-Asar
Copy link
Contributor Author

@magento run all tests

@engcom-Hotel
Copy link
Contributor

@magento run all tests

@engcom-Hotel engcom-Hotel self-requested a review November 28, 2024 10:39
Copy link
Contributor

@engcom-Hotel engcom-Hotel left a comment

Choose a reason for hiding this comment

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

Hello @Mohamed-Asar,

Thanks for the contribution!

Please review the failed automated tests, such as static and integration tests. They are failing due to PR changes.

Thanks

@Mohamed-Asar
Copy link
Contributor Author

@engcom-Hotel Sure, I will check and fix it

@Mohamed-Asar
Copy link
Contributor Author

@magento run all tests

@Mohamed-Asar
Copy link
Contributor Author

Mohamed-Asar commented Nov 29, 2024

@engcom-Hotel Please review the test results now, All the issues are fixed, i see only one warning which is copyright is missing, do i need to update the copyright like below ?

/************************************************************************
 *
 * Copyright 2024 Adobe
 * All Rights Reserved.
 *
 * NOTICE: All information contained herein is, and remains
 * the property of Adobe and its suppliers, if any. The intellectual
 * and technical concepts contained herein are proprietary to Adobe
 * and its suppliers and are protected by all applicable intellectual
 * property laws, including trade secret and copyright laws.
 * Dissemination of this information or reproduction of this material
 * is strictly forbidden unless prior written permission is obtained
 * from Adobe.
 * ************************************************************************
 */

@engcom-Hotel
Copy link
Contributor

Hello @Mohamed-Asar,

You just need to update the copyright information as below:

/**
 * Copyright 2011 Adobe
 * All Rights Reserved.
**/

@Mohamed-Asar
Copy link
Contributor Author

@magento run all tests

@Mohamed-Asar
Copy link
Contributor Author

@engcom-Hotel Changes done. please review

@engcom-Bravo
Copy link
Contributor

@magento run all tests

@engcom-Bravo
Copy link
Contributor

Hi @Mohamed-Asar,

Thanks for the collaboration & contribution!

✔️ QA Passed

Preconditions:

  • Install fresh Magento 2.4-develop

Steps to reproduce

  • Add hide_from_product_page column for any of the product image in csv file, after the import, open the product in admin and see if the image is hidden or not
  • Remove any of the image from hide_from_product_page column and see if the hide_from_product_page attribute is removed

Before: ✖️ 

We are unable to make the image visible again.

Screenshot 2024-12-10 at 10 16 27 am

After: ✔️

We are able to make the image visible(unhide) successfully.

Screenshot 2024-12-10 at 10 16 19 am

Builds are failed. Hence, moving this PR to Extended Testing.

Thanks.

@engcom-Charlie engcom-Charlie self-assigned this Dec 10, 2024
@Priyakshic Priyakshic added the Project: Community Picked PRs upvoted by the community label Dec 11, 2024
@engcom-Charlie engcom-Charlie removed their assignment Dec 13, 2024
@engcom-Dash engcom-Dash self-assigned this Dec 13, 2024
@engcom-Dash
Copy link
Contributor

@magento run all tests

@engcom-Dash
Copy link
Contributor

Raised internal approval Jira for the SVC failure. Moving this PR to Pending Approval now. We will proceed ahead on this once will get all the required approvals.
image

@Mohamed-Asar
Copy link
Contributor Author

@engcom-Dash Any updates from the internal team ?

@engcom-Charlie engcom-Charlie self-assigned this Feb 3, 2025
@engcom-Charlie
Copy link
Contributor

Hi @Mohamed-Asar,

We are following up with our approval JIRA and will let you know once will get all required approvals. For now, can you please have a look into the conflicts.

Thank you!

@Mohamed-Asar
Copy link
Contributor Author

@engcom-Charlie I fixed the conflict, please check

@Mohamed-Asar
Copy link
Contributor Author

@magento run all tests

@Mohamed-Asar
Copy link
Contributor Author

Hi @Mohamed-Asar,

We are following up with our approval JIRA and will let you know once will get all required approvals. For now, can you please have a look into the conflicts.

Thank you!

@engcom-Charlie did you hear back from the internal team, any update on this ?

@engcom-Charlie
Copy link
Contributor

Hi @Mohamed-Asar,
We are following up with our approval JIRA and will let you know once will get all required approvals. For now, can you please have a look into the conflicts.
Thank you!

@engcom-Charlie did you hear back from the internal team, any update on this ?

Hi @Mohamed-Asar,

We will let you know once we will get all required approvals on the JIRA. Thank you for your patience.

@Mohamed-Asar
Copy link
Contributor Author

@engcom-Charlie Any update on this ? its been pending for a while

@engcom-Charlie
Copy link
Contributor

engcom-Charlie commented May 29, 2025

Hi @Mohamed-Asar,

Thank you for your patience.

As I have mentioned, we are following up on the approval JIRA. We will let you know once will get all required approvals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Partner: Ziffity partners-contribution Pull Request is created by Magento Partner Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: ready for testing Project: Community Picked PRs upvoted by the community
Projects
Status: Pending Approval
Development

Successfully merging this pull request may close these issues.

hide_from_product_page not updating in product update through csv importer
7 participants