Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Documentation
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2017 at 12:38 UTC
Updated:
19 Dec 2019 at 13:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bojanz commentedLet's fix this in Commerce first.
Comment #3
joachim commentedThere's a core issue where I filed a patch for a similar problem, but with bundles that are defined in code with the bundle hook.
Which IIRC is what Entity API does, just that it sources the bundles from the plugins.
Might be worth a look?
Comment #4
bojanz commentedIndeed. Can you find the core issue?
Comment #5
joachim commentedCouldn't find it earlier, but just went and jumped through some related issues and it's this: #3056998: use the 'bundle' filter plugin for non-entity bundle fields. Though it's for the Views filter rather than field.
Comment #6
bojanz commentedHere's a patch for the field handler. We already have a fix for the filter problem.
Also took the opportunity to remove commerce_views_data_alter(), and move its overrides to CommerceEntityViewsData.
Comment #7
bojanz commentedCommitted.