Server error and corrupted page layout
Bug #1002262 reported by
David Planella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Apps Directory |
Fix Released
|
High
|
Michael Nelson |
Bug Description
Going to:
https:/
I get a pretty screwed layout and a server error (500). noodles tells me: "it's an error when trying to get the reviews (the fact that it returns a full error page is causing the layout issue too)"
Related branches
lp:~michael.nelson/ubuntu-webcatalog/1002262-dont-insert-errors-via-ajax
- Łukasz Czyżykowski (community): Approve
-
Diff: 128 lines (+42/-10)5 files modifiedsrc/webcatalog/forms.py (+1/-1)
src/webcatalog/templates/webcatalog/application_detail.html (+11/-7)
src/webcatalog/tests/test_views.py (+20/-0)
src/webcatalog/utilities.py (+1/-1)
src/webcatalog/views.py (+9/-1)
affects: | developer-portal → ubuntu-webcatalog |
Changed in ubuntu-webcatalog: | |
status: | New → Confirmed |
importance: | Undecided → High |
Changed in ubuntu-webcatalog: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-webcatalog: | |
milestone: | none → 12.05 |
Changed in ubuntu-webcatalog: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The error is actually with the web-catalog view which is used to load the review data:
https:/ /apps.ubuntu. com/cat/ applications/ precise/ skype/reviews- ajax/
not with a 500 being returned via the rnr API as I'd originally thought. You can see the full error on staging at:
https:/ /apps.staging. ubuntu. com/cat/ applications/ precise/ skype/reviews- ajax/
MultipleObjects Returned: get() returned more than one Application -- it returned 2! Lookup parameters were {'distroseries_ _code_name' : u'precise', 'package_name': u'skype'}
which matches what we're seeing in the oops directory (although we aren't seeing the oops id displayed on the 500.html).