Hi,

Since a few days I receive the following errors:

Notice: Undefined index: node_frontpage_product in field_extra_fields_get_display() (regel 693 van /home/tweakxp/domains/tweakxp.be/public_html/modules/field/field.module).

1 for each product I have on my frontpage.

My view is build like this:

Displaysuite and custom display type 'frontpage_product'
View with render entity 'frontpage product'

It worked for a long time, but not anymore since short.

Any help on this?

Comments

harings_rob’s picture

The issue is indeed coming from commerce_rpdocut_reference.module line 431.

I made this hard fix but it should be fixable otherwise.

This is what I did:

          $display = field_extra_fields_get_display('commerce_product', $product->type, $reference_view_mode);

---->

          if($reference_view_mode == 'node_frontpage_product') {
            $reference_view_mode = 'frontpage_product';
          }
          $display = field_extra_fields_get_display('commerce_product', $product->type, $reference_view_mode);

Anyone has suggestions on a proper fix? (Display type "frontpage_product" has never been renamed)

lsolesen’s picture

Issue summary: View changes
Status: Needs work » Postponed (maintainer needs more info)

Have you tried with 2.13. It seems that you are doing something custom on your site. We need the exact steps to reproduce this, if we should fix it upstream.

lsolesen’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Closing for inactivity. Feel free to reopen.