Closed (fixed)
Project:
simpleSAMLphp Authentication
Version:
7.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2011 at 13:28 UTC
Updated:
22 Feb 2013 at 18:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
robertdouglass commentedLooks like I had the patch backwards.
Comment #2
robertdouglass commentedUnneeded messages upon uninstall. Drupal confirms success for you, the module doesn't need it.
Comment #3
geekwisdom commentedThank you for this Robert! I've applied your latest patch and committed it to master. Please pull it down and test it in your environment and let me know how it things look. If you are satisfied with the results I'll close this issue.
Comment #4
cpliakas commentedBumping this down to "needs work" as I am still getting fatal errors after applying this patch. It seems the patch in #2 overlaps with the one at #1310722: db_result deprecated in D7, however that is where my issue is as D7 no longer has the {permission} table. In addition to renaming the table in the query, the logic has to be reworked as well since the structure of the permissions table changed.
As a side note, similar to the automatic block enabling I think it is undesired behavior to automatically change permissions. If the permission changes are required for the module to work, then I would suggest adding something in hook_requirements() or placing a waning message in the admin page prompting the user to explicitly change the permissions. This does add complexity to the install, but I still feel that it is a better option than modifying permissions behing the scenes.
Thanks,
Chris
Comment #5
westie commentedI have updated #1310722: db_result deprecated in D7 so hopefully this should also help this issue.
Comment #6
geekwisdom commentedDo any of these issues still exist in the 7.x-2.x development branch? I've cleaned up the .install file thanks to contributions from robertDouglass and westie.
Comment #7
colanNo response, so marking as fixed.