Skip to content

2.4.7 int product attributes with NULL value saved in catalog_product_entity_int #39434

Open
@adamwaclawczyk

Description

@adamwaclawczyk

Preconditions and environment

  • Magento version 2.4.6-p6 that will be upgraded to 2.4.7-p3

Steps to reproduce

  1. Install 2.4.6-p6 clean Magento https://docs.warden.dev/environments/magento2.html
  2. Upgrade to 2.4.7-p3 --with-dependencies
  3. Add color to Default attribute set
  4. Create new Simple Product, do not select color attribute option when filling product create form on admin
  5. Save product
  6. Check catalog_product_entity_int table

Expected result

Empty color value is not saved to catalog_product_entity_int with NULL value.

Actual result

Empty color value is saved to catalog_product_entity_int with NULL value.

Additional information

This might not be a bug at all and some sort of "improvement" that has not been made clear.
I'll check this when I have more time, in the meantime - creating this ticket to track progress, maybe someone else will find this and contribute.

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

No one assigned

    Labels

    Area: CatalogComponent: DBIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P3May be fixed according to the position in the backlog.Progress: ready for devReported 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