Skip to content

Product Attribute Type "Multiselect" Not Updated in EAV and Product_Flat Tables #3270

Open
@empiricompany

Description

@empiricompany

Preconditions (*)

OpenMage 20.1.0-rc5 but also encountered in latest 1.9.4.5 magento version
php 7.4

Steps to reproduce (*)

  1. Create a new product attribute with this config:
    immagine

  2. Add same options value
    immagine

  3. Assign attribute to an Attribute Set

  4. Assign all options to a product
    immagine

  5. Remove one or more options from attribute
    immagine

Expected result (*)

  1. catalog_product_entity_text.value is updated without id of option deleted
  2. catalog_product_flat is updated without id of option deleted

Actual result (*)

  1. catalog_product_entity_text.value is not updated
    new value should be 238,239,240 without orphan 241 id option
    immagine

  2. also in catalog_product_flat column is not updated
    immagine

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions