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 made a form for anonymous users to create an ad protected by password and not published until an admin published it
The problem is that when the content is published and someone wants to modify it, the password check never works, always returning "incorrect password!"
I looked in the table protected_nodes, and noticed that when I publish the content, the password hash changes!
my version is 7.12 (tried also in 7.10) with following modules : Chaos tools, Finder, CKeditor, IMCE bridge, IMCE, Wysiwyg, Entity, Token, Rules, Views
Comments
Comment #1
AlexisWilke CreditAttribution: AlexisWilke commentedOn a node update, the software will regenerate a new password if you attempt to also send an email to some users. It should not otherwise change the password if you left the fields blank.
Thank you.
Alexis Wilke
Comment #2
fabien1973 CreditAttribution: fabien1973 commentedAs I told in the first post, I just do "publish the existing content" in the admin menu, I don't change anything.
Please do the test yourself and see this bug. You create a form as anonymous, not published, and then you publish it (as admin of course), the module changes the password.
Comment #3
AlexisWilke CreditAttribution: AlexisWilke commentedSorry... did not notice this was for 7.x. It works under 6.x as far as I know. 8-}
Comment #4
fabien1973 CreditAttribution: fabien1973 commentedWith this issue, protected node for D7 is not functional for unpublished forms with passwords.
So I would like to know if someone works on it, or if I must recreate my website in D6 ? (i'm not PHP programmer unfortunately, and protected node is the only module that can respond to my need)
Comment #5
AlexisWilke CreditAttribution: AlexisWilke commentedYou may want to contact ziverdistel directly to ask him whether he will have the time to fix the problem in D7...
Comment #6
oadaeh CreditAttribution: oadaeh commentedI don't know if this is related or not, but you might check out the patch I posted at #2044237: The module does not check if the password was changed to see if it fixes this.
Comment #7
izus CreditAttribution: izus commentedtested it but can't reproduce it.
i think it is now solved with the last code base