On the latest alpha6 of webform 7.x-4.0, I am getting the following error:
PHP Fatal error: Call to undefined function webform_component_property() in drupal/sites/all/modules/webform/webform.module on line 2333
This occurs when I click the "View" button from /node/%/webform-results, i.e. /node/%/submission/%. I can get to the /node/%/submission/%/edit page ok, but the "Re-send Emails" button also produce the same error noted above.
The form in question is a simple form with a text field for name, a select list for "how do you want to be contacted" with options for phone or email, an email field, a phone field, and a text area. I then have conditions in place to hide the email field if "how do you want to be contacted" is set to phone, and to hide phone if it is set to email.
In order to troubleshoot, I built a test form just like the form above, one field at a time. The view button always worked for each field as I added them and made a test submission. However, as soon as I added the conditions, I could no longer click the view button without that error occuring. I then went back and removed the conditions, and the view button worked fine again. Since the phone field is being supplied by the "webform_phone" module, I decided I'd just make all of the fields simple text fields (except for the select field) to try to eliminate that as the cause. It didn't seem to matter - as long as I had put those conditions on the form, I could no longer view the submission. As soon as I take the conditions back off, the view button worked fine.