Closed Bug 1343936 Opened 3 years ago Closed 3 years ago

Fix error in userprefs caused by logging into the sessions page

Categories

(bugzilla.mozilla.org :: General, defect, P3)

Production
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: dylan, Assigned: dylan)

References

()

Details

Attachments

(1 file)

Can't locate object method "cookie" via package "Bugzilla::Auth::Login::CGI" at /data/www/bugzilla.mozilla.org/userprefs.cgi line 790.
Priority: -- → P1
Attached patch 1343936_1.patchSplinter Review
So if you login to the sessions page, your info getter object will be Bugzilla::Auth::Login::CGI which doesn't have a cookie method. 

This info is only used to show which session is current, so I think merely skipping that is fine. If the person refreshes the information will be correct.
Attachment #8844190 - Flags: review?(glob)
This turned out to be unrelated to the other CI failures, but at the time it seemed like everything was failing. :-)
Priority: P1 → P3
Comment on attachment 8844190 [details] [diff] [review]
1343936_1.patch

Review of attachment 8844190 [details] [diff] [review]:
-----------------------------------------------------------------

r=glob
Attachment #8844190 - Flags: review?(glob) → review+
To git@github.com:mozilla-bteam/bmo.git
   2636763..b72174d  master -> master
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Summary: Strange error in userprefs.cgi → Fix error in userprefs caused by logging into the sessions page
You need to log in before you can comment on or make changes to this bug.