Skip to content

Add product with customizable option to wishlist #28259

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

Conversation

engcom-Charlie
Copy link
Contributor

@engcom-Charlie engcom-Charlie commented May 18, 2020

Description (*)

Fixed issue; covered by mftf

Related Pull Requests

Fixed Issues (if relevant)

  1. Closes Adding products to wishlist with custom options #28103: Adding products to wishlist with custom options

Manual testing scenarios (*)

  1. Create Simple Product with Customizable option
  2. Create Customer account
  3. Go to storefront as the created Customer
  4. Go to the created Product page
  5. Select customizable option
  6. Click the “Add to Wish List” button

ER:
The created product should be added to Wish List
Wish List page should appear

AR:
Blank page
[2020-05-18 12:34:47] report.CRITICAL: Error: Maximum function nesting level of '256' reached, aborting! in /space/www/html/engcom/lib/internal/Magento/Framework/Model/AbstractModel.php:456

Questions or comments

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 are green)

@m2-assistant
Copy link

m2-assistant bot commented May 18, 2020

Hi @engcom-Charlie. 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 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 only 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). <test-build(s)> is a comma-separated list of build names. Allowed build names are Database Compare, Functional Tests CE, Functional Tests EE, Functional Tests B2B, Integration Tests, Magento Health Index, Sample Data Tests CE, Sample Data Tests EE, Sample Data Tests B2B, Static Tests, Unit Tests, WebAPI Tests.

ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review.

For more details, please, review the Magento Contributor Guide documentation.

@engcom-Charlie
Copy link
Contributor Author

@magento run all tests

@rogyar rogyar self-assigned this May 18, 2020
@engcom-Charlie
Copy link
Contributor Author

@magento run all tests

@engcom-Charlie engcom-Charlie requested a review from rogyar May 19, 2020 14:14
@ghost ghost added the Priority: P2 A defect with this priority could have functionality issues which are not to expectations. label May 19, 2020
Copy link
Contributor

@eduard13 eduard13 left a comment

Choose a reason for hiding this comment

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

Hi @engcom-Charlie thank you for the fix to the issue that I reported. Could you please check the below comments?

@engcom-Charlie
Copy link
Contributor Author

@magento run all tests

@engcom-Charlie engcom-Charlie requested a review from eduard13 May 21, 2020 14:06
eduard13
eduard13 previously approved these changes May 21, 2020
Copy link
Contributor

@eduard13 eduard13 left a comment

Choose a reason for hiding this comment

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

Looks good 👍

@magento-engcom-team
Copy link
Contributor

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

@engcom-Alfa
Copy link
Contributor

✔️ QA Passed

Manual testing scenario:

  1. Create a Simple Product with Customizable option (Dropdown fo ex.);
  2. Create Customer Account;
  3. Go to Storefront as the created Customer;
  4. Go to the created Product page;
  5. Select customizable option;
  6. Click the “Add to Wish List” button;

Before: ✖️ Error: Maximum function nesting level of '250'

Screenshot from 2020-05-22 12-17-24

After: ✔️ The product with customizable option was successfully added to Wish list

Screenshot from 2020-05-22 13-27-34

Also was tested with :

  • field
  • area
  • file
  • radio buttons
  • checkbox
  • multiple select

and everything works as expected.

@ghost ghost dismissed eduard13’s stale review May 22, 2020 10:49

Pull Request state was updated. Re-review required.

rogyar
rogyar previously approved these changes May 25, 2020
@magento-engcom-team
Copy link
Contributor

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

@engcom-Alfa
Copy link
Contributor

The validity of this decision is being discussed

@ghost ghost dismissed rogyar’s stale review May 26, 2020 11:29

Pull Request state was updated. Re-review required.

@engcom-Charlie
Copy link
Contributor Author

On the internal decision, it was decided to revert PR #22917 which cause an issue. So I close this PR.

@m2-assistant
Copy link

m2-assistant bot commented May 27, 2020

Hi @engcom-Charlie, 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Tests: Covered All changes in Pull Request is covered by auto-tests Award: bug fix Award: MFTF test coverage Component: Catalog Component: Wishlist Priority: P2 A defect with this priority could have functionality issues which are not to expectations. Progress: on hold Release Line: 2.4
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding products to wishlist with custom options
5 participants