Closed (outdated)
Project:
Webform
Version:
7.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jan 2017 at 15:03 UTC
Updated:
23 Sep 2025 at 16:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
noisegatemedia commentedPlease ignore this patch, incorrect file uploaded.
Comment #3
noisegatemedia commentedComment #4
noisegatemedia commentedComment #5
noisegatemedia commentedComment #8
noisegatemedia commentedComment #9
noisegatemedia commentedComment #10
noisegatemedia commentedComment #11
liam morlandPossibly related: #2842513: Undefined index: operator in _webform_conditional_expand().
Comment #12
joelpittetI'm using dev release and also running into these notices. The
source_typeissue has been resolved in another issue, so just theandorindex missing.Too test I just add a bunch of conditionals and looked at the logs:
Rerolling this patch.
Comment #13
liam morlandWhat are the steps to reproduce the problem? I tried following the description but could not get the error to appear.
Comment #14
joelpittet@Liam Morland Not exactly sure how to describe the problem... I guess it needs sub conditions already to trigger the bug and I added a few more and it $conditional['andor'] wasn't there when it was looking for it.
Comment #15
andrtroe commentedIts a little bit hard to read.
Can we replace it with something like
$current_op = isset($conditional['andor']) && $parent_rid < 0
? $conditional['andor']
: $parent_values[$parent_rid]['operator'];
Comment #16
liam morlandMaybe a better solution is to ensure
andoris always set.Figuring out the steps to reproduce the problem would likely make it easier to track down the best solution.
Comment #17
liam morlandDrupal 7 is no longer supported. If this applies to a supported version, please re-open.