Current artifacts list of a recent build won't show all artifacts if view changes

Bug #1435896 reported by Caio Begotti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Capomastro
Triaged
High
Unassigned

Bug Description

Apparently not all built artifacts are being listed in the project's info view if you go there manually. Steps to reproduce below:

- Create dependencies of a project (tested with the 3 tarballs [custom, device and rootfs] of our staging env).

- Create a project with all the new dependencies.

- From the creation screen, build the project. You should see a notification like "Build '<timestamp>.<buildnumber>' queued" on the top.

- Keep refreshing that page until all is built, and the artifacts will get correctly listed in the "Build artifacts" section at the bottom.

- Now at the navigation bar click on Projects and navigate to the created/built project. In the "Current artifacts" section now only the last artifact built is shown, the others are not.

Screenshot attached.

Revision history for this message
Caio Begotti (caio1982) wrote :
Revision history for this message
Daniel Manrique (roadmr) wrote :

Needs a closer look at projects/views.py, in the ProjectDetailView class where the contextdata is loaded, specifically the current_artifacts element.

It may be good to create a project that builds some "dummy" dependencies to try to reproduce this more quickly. If done in a development environment, tracing through the above mentioned method may yield why only the last artifact is shown.

Changed in capomastro:
milestone: none → 2015-07
importance: Undecided → High
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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