Content moderation field handler is not compatible with commerce_price_form_views_ui_config_item_form_alter

Created on 12 February 2020, over 5 years ago
Updated 4 July 2025, 2 days ago

If the view has content moderation field (viewsfield moderation_state_field) in it commerce_price_form_views_ui_config_item_form_alter results in fatal error because the handler of the field doesn't have option 'field_name' or 'entity_field'.

I propose to check if that property is empty. The patch is attached.

🐛 Bug report
Status

Fixed

Version

3.0

Component

Price

Created by

🇩🇪Germany a.dmitriiev

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