-
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
Product with SKU "a long sku***" does not exist #14409
Comments
this is my system log |
I hope someone can help me,thanks! |
How do you do
if there is a 64 characters validation
? |
@orlangur |
It does not work this way. If you customized your Magento instance so that you have longer SKU than in core, something may break and you must fix it on your own. |
@orlangur I change it ,because I found a similar problem solution in an issue. |
Hello @dearmatta. Thanks for reporting. In fact Your issue was actual but in some other aspect. So You create a configuration for Your Configurable Product and there appear Simple variations with SKU longer than 64 characters (f.e. by default those SKUs are having been created by adding definite characters to Your Configurable Product name ( not SKU but name), which actually is allowed to have more than 64 characters). Then after You try to save the product You should see not the error massage You've mentioned but the validation messages near the configuration SKUs saying that the SKU can not have more than 64 characters. Why we say Your issue "was actual" but not "is actual" is because in 2.3.0 version it is no more reproducible. Everything works there just as expected. But in any version You used You would be forced to have Your product SKUs contain no more than 64 characters. |
@magento-engcom-team Yes,you are right ! it is this problem. I have solved that in magento2.2.2 |
I am getting the same problem in Magento 2.2.2 |
@magento-engcom-team Saving my configurations in my Configurable Products throws the "Sku is longer than 64......" error. |
I'm seeing this in 2.3.5-p2 while saving product in store view scope. |
Something about vendor/magento/module-catalog-inventory/Model/StockRegistry.php:194 fired by the |
having the same issue as @carb0nknight in Magento ver. 2.4.6-p3 Checking the product is saved with sku |
add one configurable product to a new category
Preconditions
3.mysql5.7
Steps to reproduce
Expected result
Actual result
2.
it throw NoSuchEntityException
The text was updated successfully, but these errors were encountered: