The "View Node" option in the "Operations" column of the sytem event log of a Webform submission goes to a blank screen when clicked.
The reason is that it is pointing to ./node/view/xx rather than ./node/xx
The problem appears to occur on line 657 of the current cvs version as per the following fragment:
if (variable_get('webform_debug', 0) >= 1) {
watchdog('special', t('Submission posted to ')."'$node->title'.<br />\n$message
",
-----here---> l(t('view node'),'node/view/'.$node->nid)); <---here----------
}
However, some reflection on this, an administrative user may be better served to be directed to a filled in submission or even the analysis pages, rather than back to an un-filled-out node. Ideally, I recommend they be pointed to a filled out, but uneditable rendition of the submitted page, as was recorded in the log. Presumably this would be a $_POST selected variant of the form instance page.
You may have already done this, if not I could probably knock one up if my coding style is not considered too undrupal. Please advise.
Comments
Comment #1
ullgren CreditAttribution: ullgren commentedThanks for the info.
The log messages is mainly intended to be a debug message to verify that messages are submitted.
As I see it, it is pretty much rendered useless with the emerging report tool.
I'll remove the link since it doesn't serve any purpose.