Closed (fixed)
Project:
simpleSAMLphp Authentication
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Oct 2011 at 13:08 UTC
Updated:
22 Feb 2013 at 17:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
robertdouglass commentedHad an extra semicolon in the first patch.
Comment #2
robertdouglass commentedLooks like I had the patch backwards.
Comment #3
randallkent commentedModule installs on drupal-7.8 with patch in comment #2 applied
Without Patch:
Comment #4
thimothoeye commentedThis patch works for me too. Can we get in into git please?
I don't like nitpicking but ideally we should leverage the new db API even more like so:
install:
uninstall:
Thank you for an otherwise very useful module!!
Comment #5
geekwisdom commented@thimothoeye I committed the patch from @robertDouglass back in October and it's in the 7.x-1.2 release. THANK YOU @robertDouglass!
I forgot to update this thread. Sorry! I'm calling this one fixed.
If you want me to fix it according to your code feel free to attach a patch to this thread.
Comment #7
mrf commentedThe db_result is still in there on both 7.x-1.2 and 7.x-1.x preventing installation of the module.
Looks like it did get taken out of 7.x-2.x however.
Comment #8
westie commentedHad problems installing and uninstalling on 7.14 using 7.x-1.2 after applying patch, this was on $query2.
Tried:
However, should we even use db_query or db_update? Instead would it not be better to use user_role_revoke_permissions()?
Please see attached patch, I am pretty new at this but hopefully it is some help! :)
Comment #9
geekwisdom commentedI used the approach provided by westie. It's now in the 7..x-2.x branch. See: http://drupalcode.org/project/simplesamlphp_auth.git/commit/c4156968745e...
Comment #10
mrf commentedIf the 1.x branch is abandoned, please mark it as such. There is no published release for 7.x-2.x and 7.x-1.x and 7.x-1.2 can't be installed without patching this issue.
Comment #11
geekwisdom commentedI'm sorry about this you guys. I just pushed this fix into the 7.x-1.x branch. I'll role a 7.x-1.3 release with this fix and the fix for Issue #1310732 right away.
Comment #12
colan