webui auto refresh doesn't work

Bug #1276889 reported by Ursula Junque
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Fix Released
High
Joe Talbott
Ubuntu CI Services
Fix Released
High
Joe Talbott

Bug Description

I'm not sure this is one or two bugs, I'm filing one and if it's the case I'll split them. I've tested on chrome and firefox.

Steps to reproduce:

First problem:
1) Deploy ticket-system from trunk r214
2) Access the web UI when Ticket System has no tickets.
3) Add a ticket using the CLI

What happens in the web UI: nothing.
What should happen: auto refresh should reload the data and the new ticket appear on the list.

Second problem:
4) Refresh the page manually. The ticket will show up and the auto refresh will give signs it's working (every 10 seconds a "Refreshing data..." label shows on the top of the ticket table)
5) Add another ticket using the CLI

What happens in the web UI: auto refresh keeps pretending it's working, but the ticket list only shows first added ticket.
What should happen: auto refresh should reload the data and the second ticket appear on the list.

6) Refresh the page manually. Second ticket will show up.

Tags: airline

Related branches

Ursula Junque (ursinha)
description: updated
Revision history for this message
Ursula Junque (ursinha) wrote :

Chris tested updating the ticket status and the page refreshed accordingly.

Revision history for this message
Joe Talbott (joetalbott) wrote :

Refresh currently only checks the data for the tickets it already knows about (i.e. those that it finds on first load) so new tickets don't show up without a page reload.

I'll add support for checking for new tickets as well.

Joe Talbott (joetalbott)
Changed in ubuntu-ci-services-itself:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Joe Talbott (joetalbott)
status: Confirmed → In Progress
Changed in ubuntu-ci-services-itself:
status: In Progress → Fix Committed
Changed in ubuntu-ci-services-itself:
status: Fix Committed → Fix Released
Revision history for this message
Chris Johnston (cjohnston) wrote :

I seem to be getting hit by this again. Can anyone else verify the problem?

Revision history for this message
Joe Talbott (joetalbott) wrote :

@Chris is the issue that you were/are seeing the one from our recent discussion?

Revision history for this message
Chris Johnston (cjohnston) wrote : Re: [Bug 1276889] Re: webui auto refresh doesn't work

I do believe so.

On Thu, Mar 6, 2014 at 10:14 AM, Joe Talbott <email address hidden>wrote:

> @Chris is the issue that you were/are seeing the one from our recent
> discussion?
>
> --
> You received this bug notification because you are subscribed to Ubuntu
> CI Services.
> https://bugs.launchpad.net/bugs/1276889
>
> Title:
> webui auto refresh doesn't work
>
> Status in Ubuntu CI Services:
> Fix Released
>
> Bug description:
> I'm not sure this is one or two bugs, I'm filing one and if it's the
> case I'll split them. I've tested on chrome and firefox.
>
> Steps to reproduce:
>
> First problem:
> 1) Deploy ticket-system from trunk r214
> 2) Access the web UI when Ticket System has no tickets.
> 3) Add a ticket using the CLI
>
> What happens in the web UI: nothing.
> What should happen: auto refresh should reload the data and the new
> ticket appear on the list.
>
> Second problem:
> 4) Refresh the page manually. The ticket will show up and the auto
> refresh will give signs it's working (every 10 seconds a "Refreshing
> data..." label shows on the top of the ticket table)
> 5) Add another ticket using the CLI
>
> What happens in the web UI: auto refresh keeps pretending it's working,
> but the ticket list only shows first added ticket.
> What should happen: auto refresh should reload the data and the second
> ticket appear on the list.
>
> 6) Refresh the page manually. Second ticket will show up.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu-ci-services-itself/+bug/1276889/+subscriptions
>

--
Chris Johnston <email address hidden>
Software Engineer - CI Engineering Team
Canonical Ltd.
www.ubuntu.com

Changed in ubuntu-ci-services-itself:
milestone: none → phase-0
tags: added: airline
Ursula Junque (ursinha)
Changed in uci-engine:
assignee: nobody → Joe Talbott (joetalbott)
importance: Undecided → High
milestone: none → phase-0
status: New → Fix Released
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.