Skip to content
This repository has been archived by the owner on Apr 29, 2019. It is now read-only.

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

Closed
piotrekkaminski opened this issue Nov 3, 2017 · 4 comments
Assignees
Milestone

Comments

@piotrekkaminski
Copy link
Contributor

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
Copy link
Contributor Author

Possibly affects EE only

@php4umagento php4umagento self-assigned this Jan 16, 2018
@php4umagento
Copy link
Contributor

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
Copy link
Contributor

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 added a commit to php4umagento/import-export-improvements that referenced this issue Feb 26, 2018
…uct export

 - make sure that the abstract entity class knows how to deal with multi select attributes
 - add finset attribute filter when type matches \Magento\ImportExport\Model\Export::FILTER_TYPE_MULTISELECT
@dmanners dmanners assigned dmanners and unassigned php4umagento Mar 21, 2018
@dmanners
Copy link
Contributor

dmanners commented Apr 5, 2018

This has been merged into 2.3-develop as part of #98

@dmanners dmanners closed this as completed Apr 5, 2018
magento-engcom-team pushed a commit that referenced this issue Aug 27, 2018
magento-engcom-team added a commit that referenced this issue Feb 13, 2019
…:process #33

 - Merge Pull Request magento/bulk-api-ce#33 from pmclain/bulk-api-ce:hotfix/delete-action
 - Merged commits:
   1. ba8ea17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants