-
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
Attribute option value uniqueness is not checked if created via REST Api #8846
Comments
@hilrob Thanks for reporting this issue. Created internal issue MAGETWO-70441 to investigate and track this issue. |
@hilrob, thank you for your report. |
Working on that :) |
Hi @gomencal please, accept the invite |
Hi! Accepted :) |
[EngCom] Public Pull Requests - 2.1-develop - MAGETWO-83320: #7903 correct the position of the datepicker when you scroll #12045 - MAGETWO-83319: [backport 2.1] Magento 2 Store Code validation regex: doesn't support uppercase letters in store code #12040 - MAGETWO-82948: fix #8846 [Backport 2.1-develop]: avoid duplicated attribute option values #11786 - MAGETWO-81328: [Fix:5439] Send email to subscribers only when are new 2.1 #11316
[EngCom] Public Pull Requests - 2.2-develop - MAGETWO-83279: Magento 2.2.0 Solution for Cross-sell product placeholder image size … #12018 - MAGETWO-83270: 11700: "Something Went Wrong" error for limited access admin user #11993 - MAGETWO-83085: fix #8846: avoid duplicated attribute option values #11785
Hi @hilrob. Thank you for your report. The fix will be available with the upcoming patch release. |
Hi! I can see here that it is fixed at 2.3.x. But should it duplicate as well if I make a PUT request to
Where I have the options listened on the request. For example, if I have an attribute with an option that has the label "Option Label" and makes the put request with the following options inside the attribute Json request:
I get these options inside the attribute.
With the duplicated label.
Thanks a lot! |
We experience this bug with version 2.3.5-p1 |
Sync minor release 2.4.7
Preconditions
Steps to reproduce
URL: /rest/V1/products/attributes/color/options
POST:
Response:
Expected result
Actual result
The text was updated successfully, but these errors were encountered: