user & distributed authentication bugs
doq - August 26, 2006 - 15:42
| Project: | Drupal |
| Version: | 6.x-dev |
| Component: | user.module |
| Category: | bug report |
| Priority: | normal |
| Assigned: | doq |
| Status: | closed |
Description
- 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().

#1
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.
#2
#3
UPDATED.
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.
#4
Is it possible to break this into separate patches (filed in separate issues) at all? I'm having trouble matching things 'FIXED' with code.
#5
Excellent patch!
#6
It'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.
#7
1. Fixed in D5.x-dev
1.1 Fixed in D6.x-dev
#8
opsss FIXED
#9
Automatically closed -- issue fixed for two weeks with no activity.