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

AlexisWilke’s picture

On 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

fabien1973’s picture

As 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.

AlexisWilke’s picture

Sorry... did not notice this was for 7.x. It works under 6.x as far as I know. 8-}

fabien1973’s picture

With 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)

AlexisWilke’s picture

You may want to contact ziverdistel directly to ask him whether he will have the time to fix the problem in D7...

oadaeh’s picture

I 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.

izus’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

tested it but can't reproduce it.
i think it is now solved with the last code base