Errors when delete option of attribute "color" with Swatch Type as Color swatch
When edit attribute color, we selected Swatch Type is Color swatch, then we deleted a option and the returned result is mixed
Please provide as detailed information about your environment as possible.
1. version: 1.2
1. step-1: select swatch Type is color swatch
2. step-2 : add color for options
3. step-3: delete a option
First, I have attribute color with options

Final, I deleted option "white".
Tell us what should happen.


@bhanu-webkul I am not able to reproduce that. Can you show us the steps to reproduce how he reproduce that bug?
Because currently, we are not doing the realtime saving. As I am seeing the screenshot he saved the name two times blue in color white as well. That's why he is getting a mixed results.
@bhanu-webkul OK I got it. Its a bug.
@devansh-webkul , errors which he has mentioned does not mean any exception is there, simply when admin is deleting any option the values are getting deleted but the selected swatch color doesn't get deleted. As you can see in steps to reproduces, there is one white color swatch and one blue so when admin delete white one,then options of blue get shifted to white color swatch.
I hope you got the point
@nguyenthanhtuanIT
this bug is fixed now, please check.
Feel free to reopen the issue anytime.
Most helpful comment
@devansh-webkul , errors which he has mentioned does not mean any exception is there, simply when admin is deleting any option the values are getting deleted but the selected swatch color doesn't get deleted. As you can see in steps to reproduces, there is one white color swatch and one blue so when admin delete white one,then options of blue get shifted to white color swatch.
I hope you got the point