Receive this error when editing a form submission:

Notice: Undefined offset: 1 in webform_matrix_component_form_alter() (line 314 of /Applications/MAMP/htdocs/drupal-7.51/sites/all/modules/webform_matrix_component/webform_matrix_component.module).
Notice: Undefined offset: 2 in webform_matrix_component_form_alter() (line 314 of /Applications/MAMP/htdocs/drupal-7.51/sites/all/modules/webform_matrix_component/webform_matrix_component.module).

Only seems to happen if matrix field type LABEL is used within the matrix.

To recreate:

  • Create a matrix.
  • Add a label field.
  • Add a text field.
  • Submit data to the form.
  • Click the edit link on the Results screen to see the error.
CommentFileSizeAuthor
error.png49.34 KBbikefever
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bikefever created an issue. See original summary.

chetan-singhal’s picture

will look this.

momoney’s picture

Hi, any update on this issue? I'm getting a similar error for the label field

dcrespin’s picture

Hi, from a multi-step webform I have the same problem when I go back one step before and I return to the original place (where the matrix field is).

chetan-singhal’s picture

Status: Active » Fixed
chetan-singhal’s picture

Status: Fixed » Closed (fixed)