-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
500 when creating new product after adding attribute via API and assigning to attribute set via UI #26827
Comments
Hi @vincentteyssier. Thank you for your report.
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
For more details, please, review the Magento Contributor Assistant documentation. @vincentteyssier do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
|
Additional comment: if I go to the test attribute page and save it without modifying anything the 500 does not occur anymore |
I digged a bit into the code and can see that what gives NULL in argumentsResolver('test_api', NULL) comes from $rawComponentData = $this->definitionData->get($name) and $name is 'swatch_text' as we can see in the create instruction. |
Also notice the reindexer is failing, even when I set searchable fields to false:
|
Hi @engcom-Delta. Thank you for working on this issue.
|
✅ Confirmed by @engcom-Delta Issue Available: @engcom-Delta, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself. |
Hi guys, This issue happens when we save a product attribute with "frontend_input" => "swatch_text" via API. Other front_input types like text,... haven't happened. |
Hi and thanks for looking into this. The workaround is a bit tedious since I might have to do that for hu ndreds of products, but not much of a choice :) |
Hi @sergiy-v. Thank you for working on this issue.
|
Hi @vincentteyssier. Thank you for your report. The fix will be available with the upcoming 2.4.0 release. |
Preconditions (*)
Magento 2.3.4
PHP 7.3
Steps to reproduce (*)
Expected result (*)
Product creation page should display normally
Actual result (*)
Error 500
Nginx logs below:
The text was updated successfully, but these errors were encountered: