Following notices appear after clicking the "Save product vatiation" button at /admin/commerce/config/product-variation-types/add

Notice: Undefined index: type ve funkci link_i18n_string_list_field_alter() (řádek: 1315 v souboru /var/www/commerce_kickstart-7.x-2.4/profiles/commerce_kickstart/modules/contrib/link/link.module).

Notice: Undefined index: widget ve funkci link_i18n_string_list_field_alter() (řádek: 1315 v souboru /var/www/commerce_kickstart-7.x-2.4/profiles/commerce_kickstart/modules/contrib/link/link.module).

Notice: Undefined index: title_value ve funkci link_field_update_instance() (řádek: 1305 v souboru /var/www/commerce_kickstart-7.x-2.4/profiles/commerce_kickstart/modules/contrib/link/link.module).

Notice: Undefined index: title_value ve funkci link_field_update_instance() (řádek: 1305 v souboru /var/www/commerce_kickstart-7.x-2.4/profiles/commerce_kickstart/modules/contrib/link/link.module).

Comments

rknox’s picture

Version: » 7.x-2.4

Check this issue in the Link module queue:

http://drupal.org/node/1914286

There's a patch (ref #2) that seems to be working.

vishy_singhal’s picture

#1 - does not work

maxplus’s picture

This worked for me: http://drupal.org/node/1914286

Thanks!

vishy_singhal’s picture

@maxplus - It does not work for all cases. While creating a new product variation or a new content type, the problem still exist.

My guess - It has to be an err in a definition file. It cannot be related to link.module.

jsacksick’s picture

Status: Active » Fixed

I added the link patch to kickstart, this should fix the issue as it now checks for the widget type before trying to call the i18n function.

vishy_singhal’s picture

it works now!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.