Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I know that this module is not supported by the current maintainer (quicksketch), but I thought documenting this issue anyway would be good should there be a support for it in the future, maybe by a new maintainer.
When cloning a webform built with the latest 6.x-3.x-dev Webform and Webform PHP modules, the content of the two "Additional PHP processing" fields does not get copied.
Comments
Comment #1
quicksketchThis could be fixed by implementing hook_nodeapi() and saving the fields on $op == 'insert' or 'update'. Or potentially Webform could be updated to use drupal_write_record() instead of manual INSERT/UPDATE database queries.
Comment #2
roball CreditAttribution: roball commentedAny plans to apply one of these possible fixes? Thanks.
Comment #3
quicksketchWebform fixed this problem by switching to drupal_write_record() as part of #248157: Allow any Webform to be displayed as a block.