I have a fresh Drupal 7 installation with the webform and webform_validation modules installed. I tried to create a new webform and got the following error:
Notice: Undefined property: stdClass::$clone_from_original_nid in webform_validation_node_clone() (line 273 of webform_validation/webform_validation.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | webform_validation-check_for_node_clone.patch | 613 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedI have the same issue with Drupal 7.0, Webform 3.9 and Webform Validation 7.0 RC1.
It seams that the webform validation does not check for the an installed node_clone module. If you look at the "webform_validation_node_insert" function at line 242 you will see that it will always evaluate to true if the content type can have a webform. Adding a module_exists() function instead of TRUE does the trick for me.
Attached is a patch that fixes that issue and adds the check.
Comment #2
svendecabooterCheck for node_clone existence has been added now.