App URLs should default to the distro where the app was last available instead of the latest distro
Bug #901114 reported by
David Planella
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Apps Directory |
Fix Released
|
Medium
|
Anthony Lenton |
Bug Description
I've noticed different behaviour on apps.ubuntu.com URLs depending on the browser:
So going to this URL:
https:/
- Firefox takes me to https:/
- Chromium takes me to https:/
I believe both browsers should take users to the url of the latest distro where the app was available, rather thatn just the latest Ubuntu distro released.
Related branches
lp:~elachuni/ubuntu-webcatalog/latest-app
- Łukasz Czyżykowski (community): Approve
-
Diff: 693 lines (+355/-93)13 files modifiedsrc/webcatalog/admin.py (+1/-1)
src/webcatalog/forms.py (+17/-0)
src/webcatalog/management/commands/check_all_latest.py (+64/-0)
src/webcatalog/management/commands/import_for_purchase_apps.py (+16/-8)
src/webcatalog/managers.py (+18/-0)
src/webcatalog/migrations/0013_add_is_latest.py (+162/-0)
src/webcatalog/models/applications.py (+1/-1)
src/webcatalog/tests/factory.py (+2/-2)
src/webcatalog/tests/test_commands.py (+40/-9)
src/webcatalog/tests/test_managers.py (+13/-0)
src/webcatalog/tests/test_models.py (+0/-1)
src/webcatalog/tests/test_views.py (+14/-37)
src/webcatalog/views.py (+7/-34)
Changed in ubuntu-webcatalog: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ubuntu-webcatalog: | |
assignee: | nobody → Anthony Lenton (elachuni) |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Some more info after talking to Michael on IRC:
<noodles775> Thanks dpm 14.0.835. 202 Chrome/14.0.835.202 Safari/535.1
dpm: so Chromium is taking you to the distroseries which it detected from your browser (without checking if the app existed there--bad)
<noodles775> whereas your FF version doesn't tell us the distroseries that you're using, so it defaults to the configured release (again without checking though...). Should be a straight-forward fix.
<dpm> noodles775, you're right, I hadn't realized Chromium also provided the distro series!
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/11.10 Chromium/