Warning: Missing argument 2 for user_category_load(), called in /srv/drupal-qa-tracker/www/includes/menu.inc on line 593 and defined in user_category_load() (line 1914 of /srv/drupal-qa-tracker/www/modules/user/user.module).

Bug #1044792 reported by Dave Gilbert
52
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Drupal/Launchpad login module
New
Undecided
Unassigned
Ubuntu QA Website
Fix Released
Low
Stéphane Graber

Bug Description

I logged onto iso.qa.ubuntu.com using my lp account, it sent me a password reset/acknowledge link, which told me it was ok (green tick) but then when I clicked the 'change password' link from that to go to

http://iso.qa.ubuntu.com/user/29944/edit

I got:

    Warning: Missing argument 2 for user_category_load(), called in /srv/drupal-qa-tracker/www/includes/menu.inc on line 593 and defined in user_category_load() (line 1914 of /srv/drupal-qa-tracker/www/modules/user/user.module).
    Warning: Missing argument 3 for user_category_load(), called in /srv/drupal-qa-tracker/www/includes/menu.inc on line 593 and defined in user_category_load() (line 1914 of /srv/drupal-qa-tracker/www/modules/user/user.module).
    Notice: Undefined variable: index in user_category_load() (line 1925 of /srv/drupal-qa-tracker/www/modules/user/user.module).
    Notice: Undefined variable: map in user_category_load() (line 1927 of /srv/drupal-qa-tracker/www/modules/user/user.module).
    Warning: array_slice() expects parameter 1 to be array, null given in user_category_load() (line 1927 of /srv/drupal-qa-tracker/www/modules/user/user.module).
    Warning: implode(): Invalid arguments passed in user_category_load() (line 1927 of /srv/drupal-qa-tracker/www/modules/user/user.module).

and an access denied

Related branches

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Dave, if you wish to reset your password, use the ubuntu sso password reset. This looks like leftover pages from when the tracker had a separate login. Thank you for reporting the bug!

https://login.launchpad.net/+forgot_password

@Stephane, should probably remove these old pages and/or redirect the reset password, account maintenance, etc links back to ubuntu sso.

Changed in ubuntu-qa-website:
importance: Undecided → Critical
importance: Critical → Medium
assignee: nobody → Stéphane Graber (stgraber)
Revision history for this message
Stéphane Graber (stgraber) wrote :

That's weird, /edit is supposed to just return a 500 error, not spew error messages...

Anyway, we sadly can't get rid of those entirely as they're part of Drupal. The launchpad module for Drupal tries to override/block them but not always successfully (apparently).

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Thanks nskaggs, I wasn't actually trying to change my password.

I can't quite remember what I was trying to do, but I wasn't intending to change password; it was the 1st time I'd logged
into the tracker (?) and I logged in with the lp ID and I seem to remember it was originally wasn't showing me anything other than the change password button I'd assumed it was expecting me to set a separate one for the tracker.

Dave

Revision history for this message
Stéphane Graber (stgraber) wrote :

You're not supposed to be able to change your password from the tracker as it's using SSO accounts from login.ubuntu.com.

However the fact that you're not getting a cleaner error message is a bug in drupal-launchpad. I'm adding a task for that project but keeping an ubuntu-qa-website reference to try and workaround the issue there.

Changed in ubuntu-qa-website:
status: New → Triaged
importance: Medium → Low
Revision history for this message
Matthew Allen (whosdaz) wrote :

The User redirected fix that fixed lp:1194770 has been edited to also cover this bug. See the related branch above.

Matthew Allen (whosdaz)
Changed in ubuntu-qa-website:
status: Triaged → Fix Committed
Matthew Allen (whosdaz)
Changed in ubuntu-qa-website:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.