Closed (cannot reproduce)
Project:
Webform
Version:
7.x-4.0-alpha9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jul 2013 at 05:31 UTC
Updated:
19 Aug 2014 at 22:30 UTC
Jump to comment: Most recent
Comments
Comment #1
mbrowd commentedI"m seeing a similar notice.
The conditional is set to show a field on page 2 of the form. When navigating to that page the following notice appears.
Notice: Undefined index: submitted in webform_client_form_validate() (line 2555 of ../sites/all/modules/webform/webform.module).Otherwise the form seems to be working fine.
Comment #2
quicksketch@mkostrzewa: Did you run update.php after upgrading? We added a new "extra" column to the webform_emails table in #687606: Add conditional email sending feature. That error would be caused if the appropriate column didn't exist in the database table.
@mbrowd: Seems like a separate issue. Could you open a new issue and describe how to reproduce the problem from scratch?
Comment #3
quicksketchHm, actually the error lines mentioned by the original poster all point to missing values in the $component variable, not an $email variable, so I don't think this is related to the recent addition of the "extra" column.
From the looks of things, it seems like there's a component in your form that might not be a legitimate component. Are you doing things like injecting fake components into the $node->webform['components'] array?
Does this problem happen on every Webform? Or just one particular form? I'll need instructions on how to reproduce this problem in order to fix it.
Comment #4
drubin commentedSimilar to @mbrowd. Fresh install of Surveyor. Created a multipage form with a simple same page conditional on second page hide/show markup dependent on Select options. Top of second page shows:
Notice: Undefined index: submitted in webform_client_form_validate() (line 2555 of .../sites/all/modules/contrib/webform/webform.module).Same in alpha8 version
ETA: I am only seeing this notice on pages with same page conditionals.
Comment #5
mkostrzewa commentedIt does happen on every webform.
Comment #6
quicksketchThanks guys, I'll give this another shot at reproducing.
Comment #7
danchadwick commentedI'm going to close this lacking further information for reproducing it. I am assuming this was an issue in updating or in an early alpha which no longer exists. Please re-open if you can reproduce this in the latest 7.x-4.x-dev.