Bug feeds for BugTargets need to ensure a sufficient number of bugs are fetched
Bug #206811 reported by
Brad Crittenden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
A bug feed should have 25 entries in it (with the current configuration). In BugTargetBugsFeed we retrieve BugTasks not bugs and then select the most recent bugs represented from that set of BugTasks. This strategy needs to be revisited to incorporate a batching approach to ensure we get 25 bugs. The current work-around is to simply retrieve twice the number of BugTasks as the number of bugs we need.
The solution should also ensure private bugs are screened during the db query as removing them later may cause the number of bugs fetched to fall below the threshold.
description: | updated |
tags: | added: tech-debt |
Changed in malone: | |
status: | New → Triaged |
importance: | Undecided → Low |
To post a comment you must log in.
This will be fixable in a few days because searchTask() will allow you to search for public bugs. _type=[ InformationType .PUBLIC, InformationType .UNEMBARGOED_ SECURITY ]
information