Filters malfunction when creating Rest Export of Custom Menu Link
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #2862617. -->
Reported by: [tjh](https://www.drupal.org/user/3348958)
>>>
<p><strong>There are three issues here, all semi-related:</strong><br>
1. Rest Exports are tracking _all_ menu links, not just the ones tracked at <code>/admin/config/search/menu_entity_index</code>. </p>
<p>2. Cannot filter by menu name, get an error regardless of which menu name selected: <code>InvalidArgumentException: The configuration property display.default.display_options.filters.menu_name.value.main doesn't exist. in Drupal\Core\Config\Schema\ArrayElement->get() (line 74 of /var/www/build/html/core/lib/Drupal/Core/Config/Schema/ArrayElement.php).</code> </p>
<p>This is odd because the View Preview seems to recognize/use this filter just fine.</p>
<p>3. This missing title throws a lot of spam in the dblog: <img src="https://www.drupal.org/files/issues/Screenshot%202017-03-21%2011.11.40.png" alt=""></p>
<p>4. "Menu name" current prints the display name of the menu rather than the machine name, this should probably be swapped as well ("Main Navigation" versus "main")</p>
<p><strong>Steps to reproduce:</strong></p>
<p>1. New D8 site<br>
2. Enable menu_entity_index, rest, restui, serialization<br>
3. Create a new View with a Rest Export, showing "Custom menu link" of type "Custom menu link"<br>
4. The view can be formatted to use fields or entities, the errors thrown around menu name filter appear on both.</p>
issue