Product custom option of type 'Drop-down' retains values in the database after being changed to type 'Field'
Author: ksenia-zlotinCreated Feb 16, 2024Updated Sep 28, 2026
LabelsIssue: ConfirmedComponent: DBReproduced on 2.4.xProgress: PR in progressPriority: P3Area: ProductReported on 2.4.4-p6
Preconditions and environment
2.4.4-p6
Steps to reproduce
- Create a product with a dropdown custom option and 1 value, save the product
- Change the existing custom option type to 'Field' and save the product
- View the database - old values are retained
Expected result
There is no reason to retain the option's values after saving
Actual result
Values are retained and if the custom option is never used as a dropdown again- are just cluttering the database
Additional information
No response
Release note
No response
Triage and priority
- Severity: S0 - Affects critical data or functionality and leaves users without workaround.
- Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
- Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
- Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
- Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.
Source: magento/magento2