When editing nodes on our site, we kept getting the warning:

Notice: Undefined index: plugin in linkit_process_field_element() (line 192 [...]

This was resolved using the attached patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ccx105 created an issue. See original summary.

swiftsystems’s picture

Title: Notice: Undefined index: lugin in linkit_process-field_element() » Notice: Undefined index: plugin in linkit_process-field_element()
FileSize
814 bytes
visabhishek’s picture

Status: Active » Needs review

Changing Status to Needs Review

Status: Needs review » Needs work

The last submitted patch, 2: linkit-plugin-notice-fix-2597612-7.patch, failed testing.

visabhishek’s picture

Version: 7.x-3.3 » 7.x-3.x-dev
Status: Needs work » Needs review
FileSize
614 bytes

i am re-rolling the patch for 7.x-3.x (Current verison - Under active development.)

anon’s picture

Status: Needs review » Fixed

Thanks for the patches

  • anon committed 34b7193 on 7.x-3.x authored by visabhishek
    Issue #2597612 by ccx105, visabhishek: Notice: Undefined index: plugin...
anon’s picture

Status: Fixed » Needs work

Sorry my bad.

This will not work after #1858050: Search button breaks when used on a multiple link or text field is committed.

I don't see the reason why $profile->data['insert_plugin']['plugin'] should not be set.

I think your linkit profile is broken.

anon’s picture

Status: Needs work » Closed (works as designed)