Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291053

existing views don't cope with a change to plugins in Views data

$
0
0

I'm trying to apply the patch from #3056998: use the 'bundle' filter plugin for non-entity bundle fields to a site that has existing views with bundle filters. The patch changes the filter plugin ID that is set on bundle fields in Views data:

- before, a non-entity bundle filter just showed a text field, using the 'string' plugin
- after the patch, the plugin is 'bundle', which shows a select form element with the bundle names

My existing views aren't picking up this change.

- If I open the bundle filter edit popup, it still shows the form for the old plugin, that is, a text field
- Weirdly, if I right-click and open the edit form for the bundle filter in a new browser tab, then I get the new plugin. But I can't save it -- I get the 'Illegal choice' error.

It seems there is some conflict between the plugin ID that's baked into the view, and the plugin ID that's defined in Views data.


Viewing all articles
Browse latest Browse all 291053

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>