First issue:
When using a list field as an exposed grouped filter with the checkbox to remember selections, I get the following error: "An illegal choice has been detected. Please contact the site administrator.":

illegal_choice

Filter settings:

list field settings 1
list field settings 2

Second issue:
When using a Boolean field as an exposed grouped filter with the checkbox to remember selections, I get the following error: "An illegal choice has been detected. Please contact the site administrator.":

boolean settings 1
boolean settings 2

Steps to reproduce:
- Import configs
- Add 6 nodes with filled fields (list_field_test: 2(Nodes) - Active, 2 - Inactive, 2 - Locked and test_status: 3 - Published, 3 - Unpublished)
- Go to path /test_list_view
- Select filters:
List Field Test (Inactive), Test Status (Not Published)
or
List Field Test (Inactive), Test Status (- Any -)
- Submit search
- Go to any path
- Again go to path /test_list_view

In different variations of the search query - we get an error:
An illegal choice has been detected. Please contact the site administrator.

Files: 

Comments

BlacKICEUA created an issue. See original summary.

BlacKICEUA’s picture

Issue summary: View changes
BlacKICEUA’s picture

BlacKICEUA’s picture

Status: Active » Needs review

Status: Needs review » Needs work
BlacKICEUA’s picture

BlacKICEUA’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

Status: Needs review » Needs work
BlacKICEUA’s picture

Added new value with prefix _group to store selected group in a Grouped Filter.

Lendude’s picture

Status: Needs review » Needs work
Issue tags: -views, -exposed filter +Needs tests

@BlacKICEUA thanks for the report and the patch!

Fix could use some additional comments about what's going on. Also, this really needs some tests.

BlacKICEUA’s picture

Fixed issue for grouped "string" filters.

BlacKICEUA’s picture

Status: Needs review » Needs work