Skip to content

Default Value in default_value Column of eav_attribute Table for Product Dropdown Attribute Appends Repeatedly on Save from Admin #39467

Open
@parbat-evrig

Description

@parbat-evrig

Preconditions and environment

  • Magento version = 2.4.7-p3 community

Steps to reproduce

  1. Navigate to admin product attribute and click on Add New attribute
  2. Add attribute label
  3. Select 'Dropdown' for 'Catalog Input Type for Store Owner' field
  4. Values Required => No
  5. Add 2 options and select any option as 'Is Default'
  6. Click Save & Continue
  7. Click Save & Continue again
  8. Open db and search newly created attribute inside 'eav_attribute' table and check 'default_value' column, you will see two repeating value comma separated.

image (1)
image

Expected result

'default_value' column must store only one value for drop-down type attribute.

Actual result

'default_value' column store multiple same values comma separated for drop-down type attribute.

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”.

Metadata

Metadata

Assignees

Labels

Area: CatalogComponent: DBIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: dev in progressReported on 2.4.7-p3Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions