magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Unable to assign category to configurable product with more than 400 options from admin UI

Open engcom-November opened this issue 3 years ago • 9 comments

Preconditions and environment

2.4-develop

Steps to reproduce

  1. Create configurable product with 400-500 child variants
  2. Edit product from admin - Assign a category and save

Expected result

User is able to save the product

Actual result

image

Additional information

No response

Release note

No response

Triage and priority

  • [ ] Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • [ ] Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • [ ] Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • [ ] Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • [ ] Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

engcom-November avatar Jul 25 '22 13:07 engcom-November

Hi @engcom-November. Thank you for your report. To speed up processing of this issue, make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


:warning: According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

:clock10: You can find the schedule on the Magento Community Calendar page.

:telephone_receiver: The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

:pencil2: Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

m2-assistant[bot] avatar Jul 25 '22 13:07 m2-assistant[bot]

Hi @engcom-Dash. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

    1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
      DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
    1. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.
    1. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.
    1. Verify that the issue is reproducible on 2.4-develop branch
      Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
      - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
      - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

m2-assistant[bot] avatar Jul 25 '22 14:07 m2-assistant[bot]

@magento give me 2.4-develop instance

engcom-Dash avatar Jul 25 '22 14:07 engcom-Dash

Hi @engcom-Dash. Thank you for your request. I'm working on Magento instance for you.

Hi @engcom-Dash, here is your Magento Instance: https://6ee6aac3bfcfa0df3d568bdecf4d6417.instances.magento-community.engineering Admin access: https://6ee6aac3bfcfa0df3d568bdecf4d6417.instances.magento-community.engineering/admin_46b8 Login: 872b9235 Password: b8616aeac1cf

Hi @engcom-November ,

We are able to reproduce the issue...we are getting actual result....

Here i attached the Screenshot for your reference Screenshot from 2022-07-25 20-00-24

Steps we are Followed by...

  1. Create config product with child variant
  2. Edit the product and save
  3. Getting error like "Invalid form key"

Thanks!

engcom-Dash avatar Jul 25 '22 14:07 engcom-Dash

:white_check_mark: Jira issue https://jira.corp.adobe.com/browse/AC-6023 is successfully created for this GitHub issue.

github-jira-sync-bot avatar Jul 25 '22 14:07 github-jira-sync-bot

:white_check_mark: Confirmed by @engcom-Dash. Thank you for verifying the issue.
Issue Available: @engcom-Dash, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.

m2-assistant[bot] avatar Jul 25 '22 14:07 m2-assistant[bot]

@engcom-November: out of curiosity, can you try to raise your max_input_vars value in the php configuration? See documentation: https://www.php.net/manual/en/info.configuration.php#ini.max-input-vars Its default value of 1000 might not be enough for the amount of fields you are trying to POST. This is just guessing based on a similar issue I saw some years ago around that form key error message.

hostep avatar Aug 11 '22 17:08 hostep

@engcom-Bravo: what was the reason for closing this? Please always specify a reason when closing issues in the future, otherwise it's confusing the people who watch the ticket.

/cc @sdzhepa (this closing of issues without specifying a reason happens way too often over here, please talk to all people that do this so it no longer happens, thanks!)

hostep avatar Oct 13 '22 19:10 hostep

:x: Cannot export the issue. This GitHub issue is already linked to Jira issue(s): https://jira.corp.adobe.com/browse/AC-6023

github-jira-sync-bot avatar Oct 14 '22 14:10 github-jira-sync-bot