Closed Bug 693992 Opened 14 years ago Closed 12 years ago

[traceback] AttributeError: 'NoneType' object has no attribute 'update' at /en-US/firefox/users/login

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: cboldan.mozbugs, Assigned: vagnano)

References

Details

(Whiteboard: [contribute])

Attachments

(1 file)

Attached image snapshot
Steps to Reproduce 1. Reset password for current test account https://addons-dev.allizom.org/en-US/firefox/users/pwreset. 2. Access AMO page - https://addons-dev.allizom.org/en-US/firefox/ 3. Click the “Log in” link. 4. Fill out the email and password fields with the correct information. 5. Click the ‘Log in’ button. 6. In the verification page re-enter account information and captcha. 7. Click the ‘Log in’ button. Expected Results User should be logged in with no issues. Log in might be performed after step #5. Actual Results ‘Oops! We had an error’ message is displayed. Notes/Issues: I am attaching a screenshot for this issue.
See Also: → 693964
Another way to reproduce issue: Steps to Reproduce 1. Load AMO homepage 2. Click the “Log in” link from the top of the page 3. In the Log in page, click again the “Log in” link 4. Enter valid credentials and click the Log in button 5. Enter only the email and click the Log in button Expected Results User receives and error message that the password field is required Actual Results ‘Oops! We had an error’ message is displayed. Notes/Issues: recording: http://screencast.com/t/N29V1nzdMta
Traceback (most recent call last): File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/django/django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "/data/www/addons-dev.allizom.org/zamboni/vendor/lib/python/session_csrf/__init__.py", line 107, in wrapper response = f(request, *args, **kw) File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/django-mobility/mobility/decorators.py", line 23, in wrapper return f(request, *args, **kw) File "/data/www/addons-dev.allizom.org/zamboni/vendor/src/django-ratelimit/ratelimit/decorators.py", line 51, in _wrapped return fn(request, *args, **kw) File "/data/www/addons-dev.allizom.org/zamboni/apps/users/views.py", line 318, in login return _login(request, template=template) File "/data/www/addons-dev.allizom.org/zamboni/apps/users/views.py", line 388, in _login data.update({'form': partial_form()})) AttributeError: 'NoneType' object has no attribute 'update' <WSGIRequest GET:<QueryDict: {u'to': [u'/en-US/firefox/']}>, POST:<QueryDict: {u'username': [u'cboldan.mozbugs@gmail.com'], u'recaptcha_shown': [u''], u'recaptcha_response_field': [u'datedpag also'], u'recaptcha_challenge_field': [u'03AHJ_VusFneQEaLhqtn7WKSdbNBNZYyrYMdkrXyzlu0ZDqgzxLUzQkTFIPhK9qkIVE4BfNeUMkQlDTVBrUZQvyTfuiyuXPNuv2aoL1hYvgMT4ufzSTPJ4JIsqIetKKwidgliwerGwr6g-Al1KDMc3Cwi1Cx1JVmOyzw'], u'csrfmiddlewaretoken': [u'4a7c17c1fe7687d1b0d6f59c32b44b6c'], u'password': [u'******']}>, COOKIES:{'amo_home_promo_seen': '5', 'anoncsrf': '3a95d61fbf2f6113db77d95598301689', 'multidb_pin_writes': 'y', 'sessionid': '******'},
Summary: User unable to login after password reset. → [traceback] AttributeError: 'NoneType' object has no attribute 'update' at /en-US/firefox/users/login
"Oops! Not allowed." error noticed as follows: 1. Load home page: https://addons-dev.allizom.org/en-US/firefox/ 2. Click on "Log in" link in home page 3. In the log in page displayed click again in "Log in" link above 4. Enter valid account details and try to log in Result: Log in does not happen 5. Enter again the same log in details Result: "Oops! Not allowed." error message is displayed screencast: http://tinyurl.com/3fkfmsg
Whiteboard: [contribute]
This error does not occur anymore.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Assignee: nobody → vagnano
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: