I've been using the 7.x- version of Protected Node to password protect some webforms (using the Webform module, 7.x-3.18). It had been working fine, but after upgrading to Protected Node 7.x-1.x-dev, I now get an error on any protected webform after the user submits the form (the user will see an Access Denied error instead of seeing the Webform confirmation screen). Disabling Protected Node on the webform eliminates the error, so I think the issue must lie with Protected Node. Is this a settings issue I've overlooked in the latest release of Protected Node, or a bug? Any advice would be much appreciated.

CommentFileSizeAuthor
#6 webform_support-1923622-6.patch1.89 KBGrimreaper
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ortho85’s picture

Same problem - but I am new to Protected Node.

Had to work around by making a response page.

dandaman’s picture

I'm getting this as well. I'm rather new to this module, though, so I'm not sure if I'll get a chance to dig and debug it unless it really becomes a problem. A workaround we found was to just redirect the form to different page that is not password-protected and that will work just fine.

izus’s picture

Title: Protected Node on Webform returns Access Denied error after submit » Support Webform
Category: Bug report » Feature request
Issue summary: View changes

Meybe it's just a permission roblem as in https://drupal.org/node/1649298
but as i didn't test yet, i'll mark it as a feature request to support webform

Grimreaper’s picture

Hello,

I see two bugs :
- the first one is similar to https://drupal.org/node/2088831, when making the node it's ok, when making the webform part it changed the password.
- the second one is the bug mentionned in this issue. Even when allowing all webform permission to anonymous it's access denied confirmation page.

Grimreaper’s picture

Hello,

The first bug is due to the node/nid/webform/configure save action. And the patch https://drupal.org/files/protected_node-check_for_changed_password.patch related to the issue https://drupal.org/node/2044237 solve it.

I continue to look to solve the second bug.

Grimreaper’s picture

Assigned: Unassigned » Grimreaper
Status: Active » Needs review
FileSize
1.89 KB

Hello,

Here is the patch solving the two bugs, it includes the patch mentionned in the previous comment.

Thanks for the review.

izus’s picture

Status: Needs review » Fixed

merged.
thanks

Status: Fixed » Closed (fixed)

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