magento-engcom / import-export-improvements

Open Software License 3.0
31 stars 29 forks source link

[MAGETWO-1556] Export: Unable to Filter Data by Attribute With Input Type Multiple Select #33

Closed piotrekkaminski closed 6 years ago

piotrekkaminski commented 7 years ago

From @piotrekkaminski on November 2, 2017 20:26

When trying to filter data by attribute with input type = Multiple Select, no data is exported to csv file.

Preconditions

There is a custom attribute created with input type Multiple Select, 3 options enabled ("Option 1", "Option 2", "Option 3"). There is a customer in the system created with custom attribute value = "Option 1" and "Option 2". Version 2.0

Steps to reproduce

  1. Go to System-> Import/Export-> Export at backend
  2. Select "Customers" entity type
  3. Select "Magento 1.7 format"
  4. In the grid for attribute from precondition select "Option 1" filter
  5. Press "Continue" button

Expected Result

The file was exported with customer from precondition

Actual Result

  1. File was not exported.
  2. The error message appears "There is no data for export"

Note

The same situation with "Magento 2.0" Export format for all customer entity types

Copied from original issue: magento/magento2#11974

piotrekkaminski commented 7 years ago

Possibly affects EE only

php4umagento commented 6 years ago

I can see two issues - on the export form - multiselect is rendered as a normal select, then when you pick options it is not filtered

dmanners commented 6 years ago

Hi @php4umagento during testing the QA team validated the customer section is fixed but would it also be possible to fix the product filter part as well?

Steps to reproduce

1) Create product attribute with type multiselect and add to attribute set.
2) Create several product with created attribute.
3) Go to Export and select Products
4) Observe that multiselect attributes are presented as multiselect form field
5) Select multiselect attribute and any option in filter
6) Press "Continue" button
 Expected result
   - Data is filtered by selected option.
 Actual result
   - Exported all products, not looking at the filter.
dmanners commented 6 years ago

This has been merged into 2.3-develop as part of https://github.com/magento-engcom/import-export-improvements/pull/98