Closed Bug 1016156 Opened 11 years ago Closed 10 years ago

Problem in creating Username: directed to Internal Server Error

Categories

(developer.mozilla.org Graveyard :: User management, task)

All
Other
task
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1072380

People

(Reporter: daye.jung, Unassigned)

Details

(Whiteboard: [specification][type:bug][traceback])

What did you do? ================ 1. Tried to make a new mozilla account. Verified Persona. 2. Tried to make a new username for the account. Hit Submit. What happened? ============== 1. Directed to Internal Server Error page. 2. Went back to the previous page, 'send me newsletter' was demonstrated in other language (Guess it could be Chinese) What should have happened? ========================== 1. Supposed to obtain a username for my account. Is there anything else we should know? ======================================
Whiteboard: [specification][type:bug] → [specification][type:bug][trace-wanted]
Hi, thanks for the bug report. Could you please tell me the username you used to register the account, so that I can reproduce the error?
Flags: needinfo?(daye.jung)
Hi, it was "dayejung". Thank you! (In reply to Māris Fogels [:mars] from comment #1) > Hi, thanks for the bug report. Could you please tell me the username you > used to register the account, so that I can reproduce the error?
Flags: needinfo?(daye.jung)
Hmm, that doesn't look like something that would raise an error. Could you please try creating a account using the same input on our test server, https://developer.allizom.org/en-US/? The server only records the data temporarily, and creating the account there will give me the exact error you saw.
Flags: needinfo?(daye.jung)
I just tried to do the same thing on the test server and realized I forgot to mention something in the previous bug report about the input process I've made. Let me start over again: 1. I was verified using my email address in Persona 2. I tried to make an profile 3. I clicked the privacy policy page (which was opened on the same tab. I think it'll be wonderful if it opens on a separate tab) on the profile making page 4. I went back using back button on the browser from privacy policy to profile making page 5. Then I didn't see the privacy policy link anymore on the profile making page. 6. And once I clicked "CREATE A NEW PROFILE," I saw the "Internal Server Error," just like the one I saw on the non-test server. Thank you. (In reply to Māris Fogels [:mars] from comment #3) > Hmm, that doesn't look like something that would raise an error. Could you > please try creating a account using the same input on our test server, > https://developer.allizom.org/en-US/? The server only records the data > temporarily, and creating the account there will give me the exact error you > saw.
Flags: needinfo?(daye.jung)
Perfect! Thanks for the additional info, that's very helpful. I've got two errors in our logs associated with this: URL /en-US/users/browserid_register HTTP_REFERER https://developer.allizom.org/en-US/users/browserid_register REQUEST_METHOD POST Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/newrelic-2.16.0.12/newrelic/hooks/framework_django.py", line 492, in wrapper return wrapped(*args, **kwargs) File "/data/www/developer.allizom.org/kuma/urls.py", line 22, in <lambda> handler500 = lambda r: _error_page(r, 500) File "/data/www/developer.allizom.org/kuma/urls.py", line 19, in _error_page return render(request, '%d.html' % status, status=status) File "/data/www/developer.allizom.org/kuma/vendor/src/django/django/shortcuts/__init__.py", line 44, in render return HttpResponse(loader.render_to_string(*args, **kwargs), File "/data/www/developer.allizom.org/kuma/vendor/src/django/django/template/loader.py", line 176, in render_to_string return t.render(context_instance) File "/data/www/developer.allizom.org/kuma/vendor/src/jingo/jingo/__init__.py", line 191, in render return super(Template, self).render(context_dict) File "/usr/lib64/python2.6/site-packages/newrelic-2.16.0.12/newrelic/api/function_trace.py", line 89, in dynamic_wrapper return wrapped(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 891, in render return self.environment.handle_exception(exc_info, True) File "/data/www/developer.allizom.org/kuma/templates/500.html", line 7, in top-level template code {% set styles = ('error',) %} File "/data/www/developer.allizom.org/kuma/templates/base.html", line 57, in top-level template code {% include "includes/google_analytics.html" %} File "/data/www/developer.allizom.org/kuma/templates/includes/google_analytics.html", line 21, in top-level template code {% if request.user.get_profile().beta_tester %} File "/data/www/developer.allizom.org/kuma/vendor/src/django/django/contrib/auth/models.py", line 400, in get_profile self._state.db).get(user__id__exact=self.id) File "/data/www/developer.allizom.org/kuma/vendor/src/django/django/db/models/query.py", line 366, in get % self.model._meta.object_name) DoesNotExist: UserProfile matching query does not exist. Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/newrelic-2.16.0.12/newrelic/hooks/framework_django.py", line 492, in wrapper return wrapped(*args, **kwargs) File "/data/www/developer.allizom.org/kuma/apps/sumo/decorators.py", line 15, in _checkssl return view_func(request, *args, **kwargs) File "/data/www/developer.allizom.org/kuma/vendor/src/django/django/views/decorators/debug.py", line 75, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) File "/data/www/developer.allizom.org/kuma/apps/users/views.py", line 193, in browserid_register register_form.cleaned_data) File "/data/www/developer.allizom.org/kuma/apps/devmo/forms.py", line 167, in newsletter_subscribe raise forms.ValidationError(PRIVACY_REQUIRED) ValidationError: [u'You must agree to the privacy policy.']
Severity: normal → major
Status: UNCONFIRMED → NEW
Component: General → User management
Ever confirmed: true
Whiteboard: [specification][type:bug][trace-wanted] → [specification][type:bug][traceback]
Actually, it's my very first time to report a bug to Mozilla people. Can you kindly tell me if there's any further action I should take at this point? (In reply to Māris Fogels [:mars] from comment #5) > Perfect! Thanks for the additional info, that's very helpful. > > I've got two errors in our logs associated with this: > > URL > /en-US/users/browserid_register > HTTP_REFERER > https://developer.allizom.org/en-US/users/browserid_register > REQUEST_METHOD > POST > > Traceback (most recent call last): > File > "/usr/lib64/python2.6/site-packages/newrelic-2.16.0.12/newrelic/hooks/ > framework_django.py", line 492, in wrapper return wrapped(*args, **kwargs) > File "/data/www/developer.allizom.org/kuma/urls.py", line 22, in <lambda> > handler500 = lambda r: _error_page(r, 500) > File "/data/www/developer.allizom.org/kuma/urls.py", line 19, in _error_page > return render(request, '%d.html' % status, status=status) > File > "/data/www/developer.allizom.org/kuma/vendor/src/django/django/shortcuts/ > __init__.py", line 44, in render return > HttpResponse(loader.render_to_string(*args, **kwargs), > File > "/data/www/developer.allizom.org/kuma/vendor/src/django/django/template/ > loader.py", line 176, in render_to_string return t.render(context_instance) > File > "/data/www/developer.allizom.org/kuma/vendor/src/jingo/jingo/__init__.py", > line 191, in render return super(Template, self).render(context_dict) > File > "/usr/lib64/python2.6/site-packages/newrelic-2.16.0.12/newrelic/api/ > function_trace.py", line 89, in dynamic_wrapper return wrapped(*args, > **kwargs) > File "/usr/lib64/python2.6/site-packages/jinja2/environment.py", line 891, > in render return self.environment.handle_exception(exc_info, True) > File "/data/www/developer.allizom.org/kuma/templates/500.html", line 7, in > top-level template code {% set styles = ('error',) %} > File "/data/www/developer.allizom.org/kuma/templates/base.html", line 57, in > top-level template code {% include "includes/google_analytics.html" %} > File > "/data/www/developer.allizom.org/kuma/templates/includes/google_analytics. > html", line 21, in top-level template code {% if > request.user.get_profile().beta_tester %} > File > "/data/www/developer.allizom.org/kuma/vendor/src/django/django/contrib/auth/ > models.py", line 400, in get_profile > self._state.db).get(user__id__exact=self.id) > File > "/data/www/developer.allizom.org/kuma/vendor/src/django/django/db/models/ > query.py", line 366, in get % self.model._meta.object_name) > DoesNotExist: UserProfile matching query does not exist. > > > Traceback (most recent call last): > File > "/usr/lib64/python2.6/site-packages/newrelic-2.16.0.12/newrelic/hooks/ > framework_django.py", line 492, in wrapper return wrapped(*args, **kwargs) > File "/data/www/developer.allizom.org/kuma/apps/sumo/decorators.py", line > 15, in _checkssl return view_func(request, *args, **kwargs) > File > "/data/www/developer.allizom.org/kuma/vendor/src/django/django/views/ > decorators/debug.py", line 75, in sensitive_post_parameters_wrapper return > view(request, *args, **kwargs) > File "/data/www/developer.allizom.org/kuma/apps/users/views.py", line 193, > in browserid_register register_form.cleaned_data) > File "/data/www/developer.allizom.org/kuma/apps/devmo/forms.py", line 167, > in newsletter_subscribe raise forms.ValidationError(PRIVACY_REQUIRED) > ValidationError: [u'You must agree to the privacy policy.']
No further action needed, contributors and the MDN Engineering team should now have what they need to fix this bug. Now either a) a contributor will choose to work on it, or b) the dev team will prioritize it and work on it. I can't say exactly how long that will take.
Alrighty. Thank you!
This should have been fixed via bug 1072380.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.