Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi Select & Dropdown Attribute unable to Save Bug. Magento 2.1 & 2.2Dev #6253

Closed
acidreian666 opened this issue Aug 19, 2016 · 5 comments
Closed
Assignees
Labels
bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update

Comments

@acidreian666
Copy link

Preconditions

  1. Magento 2.1 & Magento 2.2Dev
  2. Ubuntu 16.04 Nginx1.10 PHP7.08 Mysql5.7

Steps to reproduce

  1. Fresh Install Magento 2.1 or 2.2Dev
  2. Create A new Attribute Multi-Select or DropDown
  3. Add 10-20 Attributes in the list
  4. Select "Manage Labels" and Add Label ex. "Styles"
  5. Select "Storefront Properties" Set everything To Yes so it is displayed and filterable and comparable ect..
  6. Click save & reindex/Clear cache
  7. Re-edit the new Attribute we just added and Delete one of the Attributes from the list in my example I deleted any of them between 1-15 but not the first or last ones.
  8. Click Save & reindex/Clear cache

Expected result

  1. Multi-Select /Dropdown Attribute with an Attribute you picked Deleted.

Actual result

  1. Multi-Select /Dropdown Attribute with an Attribute you picked Deleted. But now "Manage Labels" is Blank & "Storefront Properties" wont allow you to change any of the options back to Yes that we set before like filterable or compare on front end ect.. If you change them back and add the Label back to the attribute and Click Save it Says it Saved. But after reopening the New Attribute you can see it was not updated.
@victor-v-rad
Copy link
Contributor

Hi,
I tried to delete an option from multiselect attribute as you wrote but cannot reproduce the issue. Maybe there is some step or precondition you did not mention.

@andimov
Copy link
Contributor

andimov commented Sep 14, 2016

The contributor guide suggests that tickets that have not been active for two weeks should be closed. Please reopen as needed.

@andimov andimov closed this as completed Sep 14, 2016
@nkajic
Copy link
Member

nkajic commented May 26, 2017

@woakley
Copy link

woakley commented Nov 9, 2017

Any update on this?

Possibly the fix works for multi select but not for dropdown.

@magento-engcom-team magento-engcom-team added the Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed label Nov 9, 2017
@A-1A
Copy link

A-1A commented Jun 19, 2018

I Found Solution after R&D On Magento database.
Login In your phpmyadmin
Go to your website database
Open "eav_attribute" table
Find Your multiselect "attribute_id"
Edit Row
If "backend_model" Column blank then paste this Magento\Eav\Model\Entity\Attribute\Backend\ArrayBackend
And Also Please check this
https://magento.stackexchange.com/questions/224621/warning-array-filter-expects-parameter-1-to-be-array/230444#230444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Component: Catalog Issue: Format is valid Gate 1 Passed. Automatic verification of issue format passed Progress: needs update
Projects
None yet
Development

No branches or pull requests

8 participants