-
Notifications
You must be signed in to change notification settings - Fork 9.4k
2.1.3 CE - Unable to set attribute set for new product (possibly data-migration issue) #7825
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
Comments
I've just tried creating a new Attribute Set based on "Default" (which has no modifications) with no additional settings - and I was able to switch to this attribute set without problems (switching to an imported one still has issues). I then tried adding an imported attribute to the new attribute set and retried "Add Product" and this succeeded. Continuing to investigate when I can, but looks like something faulted during import. |
Adding all the attributes to the "new" attribute set and I am able to create a new product with that attribute set. I'm still unable to create products with the existing (migrated) attribute sets. Modifying existing products using those sets works correctly. |
I had this issue as well. Two parts to fix: My attribute sets were missing the "schedule design update" tab and the attributes; Just look for system attributes that might be missing. I did a clean install on test system and replicated default attribute set.
Dont forget to clear browser cache and magento cache. For good measure, re compile and generate static files as well. |
@olysenko have same problem. Price and price type attributes are located in product details group but it doesn't helps |
I managed to fix my case by going through manually and checking each attribute - it turns out the "Design..." fields (which I've never used) were missing from the imported ones which stopped it working. Be nice that instead of "silently erroring", Magento just added the missing required attributes. |
I had this issue too and nothing I tried could fix the migrated attribute sets. They have the design fields, they have price in the product details. |
Actually, we've updated to 2.1.5 and freshly migrated data from the 2.1.5 data migration tool and the problem is gone. Perhaps it was a problem with the way the data migration tool pulled in attribute sets but now it's fixed. |
Maybe this is related: #5505 |
This issue was a bit brain-teaser. We had found a temporary workaround - Duplicate the product & make the changes and this issue does not happen. |
@rbairwell, thank you for your report. |
I have create attribute set going through this tutorial https://magenticians.com/create-attribute-set-programmatically-magento-2/ . It helps me a lot to implement the code as i have not implemented the same for the first time but at last i fixed the error that i am having module not found. |
Hi @engcom-backlog-nazar. Thank you for working on this issue.
|
Hi @rbairwell The issue was re-tested and we can confirm that it was fixed on the 2.3 release branch. We closing this issue as fixed due to upcoming 2.3 release that will be available soon. |
Hi all, |
Thanks saved my life :) |
@sskharate May i know how did you solve this issue? |
…CPT-490 [performance] ACPT-490: Catalog Import attributes
Preconditions
This was a 2.1.2 install which was then upgraded to 2.1.3 before any products/attributes were setup. Products/attributes were imported from 1.7.0.2 using the data-migration-tool.
Steps to reproduce
A POST call is made to:
https://XXXX/admin/catalog/product/reload/type/simple/store/0/popup/1/componentJson/1/prev_set_id/21/key/KEY/?set=15&isAjax=true
[post data includes a form_key and returns 181Kb of JSON]
another POST is made to:
https://XXXX/admin/catalog/product/reload/type/simple/store/0/popup/1/componentJson/1/prev_set_id/15/key/KEY/?set=undefined&isAjax=true
which fails with a 503 Service Unavailable code
[post data includes a form_key and returns a standard "There has been an error processing your request" with the corresponding var/report file containing:
another POST is made to:
https://XXXX/admin/catalog/product/reload/type/simple/store/0/popup/1/componentJson/1/prev_set_id/15/key/KEY/?set=&isAjax=true
which fails with a 404 Forbidden code (and HTML is returned)
Expected result
Actual result
The text was updated successfully, but these errors were encountered: