- do not show user/help if no 'drupal' module enabled & no Authentication service enabled
Bugs:
- when goto /user/-some-text-, then -some-text- is outputed above the login form.
- can't enable Authentication service when no mission text
- "Note: if you have an account with one of our affiliates (Drupal), you may login now instead of registering.' text is shown even if no authentication service enabled.
- Do not show 'Drupal' in user/help when 'drupal' module is enabled but authentication service is disabled. The same must be with any module that implements hook_auth().
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | distributed authentication 473.patch.txt | 5.9 KB | doq |
Comments
Comment #1
doq commentedApplies to menu system, user module, drupal module.
admin/modules%2523descriptionadmin/modules%2523descriptionto access pages then _GET['q'] is set to admin/modules#description and it might show incorrect help.user/help%2523drupaluser/lfgjgjofgjginfgh%20dfgjgldf%20gkjl%20jfgjkfg%20jkd. Removed.user/login/-some-trash-oruser/-some-trash-it doesn't returned 404.if (variable_get('drupal_authentication_service', FALSE) && count($user_auth_help_links) > 0) {) is incorrect, 'cos other modules might implement authentication services. drupal_authentication_service is just used for 'drupal' module.user/help.ISSUES NOT FIXED:
user/login) menu item to some bottom links menu, I don't see 'log in' local task any more [But when added 'Member Login' (user) - local task is visible].FOR DOCUMENTATION:
hook_info() must return FALSE if no auth service is enabled in that module.
Comment #2
doq commentedComment #3
doq commentedUPDATED.
Applies to menu system, user module, drupal module.
admin/modules%2523descriptionadmin/modules%2523descriptionto access pages then _GET['q'] is set to admin/modules#description and it might show incorrect help.user/help%2523drupaluser/lfgjgjofgjginfgh%20dfgjgldf%20gkjl%20jfgjkfg%20jkd. Removed.user/login/-some-trash-oruser/-some-trash-it doesn't returned 404.if (variable_get('drupal_authentication_service', FALSE) && count($user_auth_help_links) > 0) {) is incorrect, 'cos other modules might implement authentication services. drupal_authentication_service is just used for 'drupal' module.user/help.ISSUES NOT FIXED:
user/login) menu item to some bottom links menu, I don't see 'log in' local task any more [But when added 'Member Login' (user) - local task is visible].FOR DOCUMENTATION:
hook_info() must return FALSE if no auth service is enabled in that module.
Comment #4
drummIs it possible to break this into separate patches (filed in separate issues) at all? I'm having trouble matching things 'FIXED' with code.
Comment #5
slimandslam commentedExcellent patch!
Comment #6
magico commentedIt's strange a critical bug, stays like this in the queue...
Following drumm, doq can you broke this into separate patches and if possible reroll against 5.x-dev?
Note: pushing this to 5.x-dev because I've confirmed some of the points in this branch.
1. going to
?q=admin/build/modules%2523descriptionshows an empty page1.1. with
?q=admin/build/modules/sometextgivesFatal error: Cannot use string offset as an array in E:\xampplite\htdocs\drupal-5.0\modules\system\system.module on line 14313. confirmed.
4. confirmed.
Comment #7
ricabrantes commented1. Fixed in D5.x-dev
1.1 Fixed in D6.x-dev
Comment #8
ricabrantes commentedopsss FIXED
Comment #9
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.