When viewing a submission with hidden components, i have this fatal error:

Fatal error: Call to undefined function webform_component_parent_keys() in /var/www/scrapon.tsdn.eu/public_html/sites/default/modules/contrib/webform/webform.module on line 1016

Investigating in those function, i found that i have to include a file.
Please can someone else can confirm the problem, and the solution attached?

Thanks for the great work!

CommentFileSizeAuthor
webform.patch717 byteseliosh

Comments

quicksketch’s picture

Status: Needs review » Fixed

Thanks! I'm not sure what situation would have this hook get called and the webform.components.inc file wouldn't be loaded, but it's definitely a good thing to ensure it's there before calling functions within it. Committed this patch to all branches of Webform. Thanks!

Status: Fixed » Closed (fixed)

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

fenstrat’s picture

Version: 7.x-3.19 » 8.x-4.x-dev
Assigned: Unassigned » fenstrat
Status: Closed (fixed) » Patch (to be ported)

Needs porting to 8.x-4.x.

fenstrat’s picture

Version: 8.x-4.x-dev » 7.x-3.19
Assigned: fenstrat » Unassigned
Status: Patch (to be ported) » Fixed

Committed and pushed 184f5c1 to 8.x-4.x. Thanks!

  • Commit 9773ad8 on 8.x-4.x authored by eliosh, committed by fenstrat:
    Issue #2143583 by eliosh: Fatal error in...

Status: Fixed » Closed (fixed)

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