Closed (fixed)
Project:
Protected Node
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2012 at 14:57 UTC
Updated:
7 Feb 2013 at 21:03 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #0.0
ytsurkiForgot
Comment #0.1
ytsurkthx
Comment #0.2
ytsurktake me
Comment #0.3
ytsurkyeah
Comment #1
gregglesAfaict this just works.
Comment #2
calefilm commentedpatch worked. Thank you!
Comment #3
venutip commentedAlso confirming that the patch works. No need to call
_user_password_dynamic_validation()anymore; seems inline validation / hints are automatically attached topassword_confirmfields. Yay.Comment #4
Anonymous (not verified) commentedYou rock. Thanks!
Comment #5
kim-day commentedI also applied the patch and it works perfectly. (I'm running drupal 7 in a multisite configuration.)
Comment #6
Sakrecoer commentedThe patch works for me too, but the attached files are still not protected eventhou my file system is set to private. Anyone, any clue of what i'm doing wrong? Or is it just the state of things at this stage of the project?
Comment #7
ytsurkfor me it was all working fine.
you have to set the protection in the content type and then in the content itself ..
this error only prevented to see the general settings page.
Comment #8
Sakrecoer commentedThank you for your prompt answer!! :) After a quick look i don't see anything regarding this module in the content type pages, including the fields. But i will investigate it further tonight!
Comment #9
Sakrecoer commentedhmm... found it. been a while since i looked this up. But they are indeed protected in content type as "Protectable (default is unprotected)" in "Smart Mode"...
I will play arroud with the different combinations of these modes and tell you the result!
Thanks to the devs for the great work btw!! (I don't keep any CIA secrets so this is not very urgent for me. It wouldn't change anything about data being transmitted to wrong person, a password is a password. But it could avoid my unfinished tracks from being embeded in stupid robot fake MP3 stores....)
Comment #10
Screenack commentedPatch #1 worked for me, although #7 makes me wonder if I jumped the gun applying the patch? OR, does #1 satisfy a use-case for where a module integrator failed to read the much-appreciated documentation?
Comment #11
Tiliann commentedNewbie here--how do I apply the patch? Opened protected_node.settings, found the right spot, but which lines do I need to replace? The last 10 lines are fine--the top five are totally different from what I have in my settings file.
Using D7 on a test site (Localhost, on my home computer) and getting the identical fatal error (although it only seems fatal for this module, since I can access the rest of the site).
Comment #12
Screenack commentedTiliann: How to apply a patch with git: http://drupal.org/node/707484
Comment #13
greggles@tiliann - Welcome! Take a look at this documentation http://drupal.org/patch/apply
I just tried applying the patch to the latest 7.x-1.x-dev version of the module and it applies cleanly.
The patch just removes the line in protected_node.settings.inc that calls the function _user_password_dynamic_validation();
If you manually remove that one line it should work for you as well.
Also, if anyone cares about this module I suggest becoming a maintainer. The fact that the current maintainer hasn't fixed this critical, fatal error in 4 months is a good indicator that they aren't paying very close attention.
Comment #14
Tiliann commentedThe instructions are written for people who at least understand the basics. I'll figure it out sometime.
I removed the line, and now it's fine.
I'm taking lots of notes!
Comment #15
rudetrue commentedPatch worked for me as well. Thanks!
Comment #16
wjackson commentedGreggles's patch worked for me as well! Thanks Greggles!
Comment #17
zilverdistel commentedHey guys,
All seems good. I committed in http://drupalcode.org/project/protected_node.git/commit/085a8a7.
Thanks for looking into this!
Zilverdistel
Comment #17.0
zilverdistel commentedfixed