Server error and corrupted page layout

Bug #1002262 reported by David Planella
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Apps Directory
Fix Released
High
Michael Nelson

Bug Description

Going to:

https://apps.ubuntu.com/cat/applications/unity-lens-utilities/

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

David Planella (dpm)
affects: developer-portal → ubuntu-webcatalog
Changed in ubuntu-webcatalog:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Michael Nelson (michael.nelson) wrote :

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/

MultipleObjectsReturned: 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).

no longer affects: rnr-server
Changed in ubuntu-webcatalog:
assignee: nobody → Michael Nelson (michael.nelson)
status: Confirmed → In Progress
Revision history for this message
Michael Nelson (michael.nelson) wrote :

As to the reason we've got the applications with the same package_name and distroseries now, I'd guess it's because the app was at some point imported via myapps and then subsequently copied to extras? (or maybe it's just happening since we've started importing extras). Achuni, can you verify whether that's the case by checking in the webcat /admin/?

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.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.