Closed Bug 829024 Opened 13 years ago Closed 13 years ago

[traceback] KeyError: <class 'constants.applications.DEVICE_DESKTOP'>

Categories

(Marketplace Graveyard :: Developer Pages, defect)

x86_64
Windows 7
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-01-10

People

(Reporter: vcarciu, Assigned: basta)

References

()

Details

(Keywords: regression)

Prerequisites: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:21.0) Gecko/20130109 Firefox/21.0 Steps to reproduce: 1.Go to MP-dev and log in with valid credentials 2.Go to Dev Hub and open an already submitted app 3.Go to "Compatibility & Payments" and change the compatible platform for the app 4.Press "Save changes" button Expected results: Platform is changed without any issue Actual results: "Oops.." message is displayed Please see screencast for this bug :http://screencast.com/t/fzshc0HTx NOTES: Not reproducible in production
File "django/core/handlers/base.py", line 111, in get_response response = callback(request, *callback_args, **callback_kwargs) File "amo/decorators.py", line 160, in wrapper return f(*args, **kw) File "amo/decorators.py", line 152, in wrapper return f(*args, **kw) File "addons/decorators.py", line 33, in wrapper return f(request, addon, *args, **kw) File "amo/decorators.py", line 33, in wrapper return func(request, *args, **kw) File "mkt/developers/decorators.py", line 49, in wrapper return fun() File "mkt/developers/decorators.py", line 28, in <lambda> *args, **kw) File "mkt/developers/views_payments.py", line 57, in payments premium_form.save() File "mkt/developers/forms_payments.py", line 193, in save super(PremiumForm, self).save(self.addon, is_premium) File "mkt/submit/forms.py", line 63, in save mark_for_rereview(addon, added_devices, removed_devices) File "mkt/submit/forms.py", line 28, in mark_for_rereview for d in added_devices] + sentry: KeyError: <class 'constants.applications.DEVICE_DESKTOP'>
Summary: "Oops.." message displayed when trying to change compatible platform. → [traceback] "Oops.." message displayed when trying to change compatible platform.
Summary: [traceback] "Oops.." message displayed when trying to change compatible platform. → [traceback] KeyError: <class 'constants.applications.DEVICE_DESKTOP'>
I tried but I can't reproduce this problem. What's the URL of the app that's failing?
(In reply to Matt Basta [:basta] from comment #3) > I tried but I can't reproduce this problem. What's the URL of the app that's > failing? https://marketplace-dev.allizom.org/developers/app/test-app-applicationone/payments/
Still can't repro :( :( :( http://cl.ly/image/371I1l0h0E3g
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Assignee: nobody → mattbasta
You need to log in before you can comment on or make changes to this bug.