Missing ratings in header
Bug #1015604 reported by
David Planella
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ratings and Reviews server |
Fix Released
|
Undecided
|
Michael Nelson | ||
Ubuntu Apps Directory |
Fix Committed
|
Low
|
Michael Nelson |
Bug Description
Comparing https:/
Related branches
lp:~michael.nelson/rnr-server/1015604-missing-ratings-for-qreator
- Łukasz Czyżykowski (community): Approve
-
Diff: 246 lines (+193/-2)4 files modifiedsrc/reviewsapp/admin.py (+12/-0)
src/reviewsapp/migrations/0015_softwareitem_packagename_unique.py (+179/-0)
src/reviewsapp/models/reviews.py (+1/-1)
src/reviewsapp/tests/test_handlers.py (+1/-1)
lp:~michael.nelson/ubuntu-webcatalog/1019326-missing-ratings-summary
- Łukasz Czyżykowski (community): Approve
-
Diff: 256 lines (+100/-25)6 files modifiedsrc/webcatalog/admin.py (+6/-0)
src/webcatalog/management/commands/import_all_ratings_stats.py (+13/-1)
src/webcatalog/management/commands/import_ratings_stats.py (+25/-13)
src/webcatalog/tasks.py (+7/-1)
src/webcatalog/tests/test_commands.py (+44/-9)
src/webcatalog/tests/test_views.py (+5/-1)
Changed in ubuntu-webcatalog: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in rnr-server: | |
status: | Fix Released → In Progress |
Changed in rnr-server: | |
status: | In Progress → Fix Released |
Changed in ubuntu-webcatalog: | |
status: | Invalid → Confirmed |
Changed in ubuntu-webcatalog: | |
assignee: | nobody → Michael Nelson (michael.nelson) |
status: | Confirmed → In Progress |
Changed in ubuntu-webcatalog: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
From the code, it looks like the most likely reason is that Application. ratings_ average == 0 for qreator - achuni can check in the admin.
This could be caused by the import- for-purchase- data command [1] not being run. I've triggered a task over an hour ago now [2] and it's still pending. And checking the import- for-purchase- data.log also doesn't give any evidence that it's imported anything since 20120712.
[1] We could now update this to be import-sca-apps - import- for-purchase- data is just a symlink to import-sca-apps. /apps.ubuntu. com/cat/ task_status/ 2d47dd92- af8f-4237- b9b5-e119f73ae0 4b/
[2] https:/