View Integration with commerce entity fails

Created on 9 January 2023, almost 2 years ago
Updated 29 December 2023, 11 months ago

Problem/Motivation

In the view integration, we are using commerce product entity to display rate widget.
But it was giving us issue with get type function.

Steps to reproduce

1. Install rate module and setup it for commerce product entity.
2. Create view of commerce product & add rate widget field in the view fields.
3. You won't see any result in the view preview section & also after saving the view error display on the screen or logs.

Proposed resolution

Created a patch where we replacing the getType() with bundle() define as global entity function.

🐛 Bug report
Status

Closed: duplicate

Version

3.0

Component

Code

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024