Project

General

Profile

Bug #21711

Sync Status progress bar does not work

Added by Walden Raines almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1509932
Description of problem:
regression since 6.3.0 Snap 21

Apparently, the query for the sync status now needs to send a Context parameter.
Right now, the server returns a redirect to "select_organization" page in the background, leaving the 'sync pstatus' progress bar without any data:

request url: GET https://sat6.com/katello/sync_management/sync_status?repoids[]=7&_=1509966958854
response: 302 Found

location: https://sat6.com/select_organization?toState=/katello/sync_management/sync_status

This obviously never ends and staying on the page leads to an infinite task polling.

How reproducible:

Steps to Reproduce:
1. create any repo
2. navigate to sync status
3. expand the created repo and hit sync
4. monitor the progress and outbound traffic

Actual results:
the sync status GET requests are being redirected to 'select_organization' page, sync status progress bar not updated, page infinitely polling for the sync status.

Expected results:
sync status retrieved correctly, feeding progress bar with correct data, finishing when sync complete

Associated revisions

Revision 0db15ab6 (diff)
Added by Walden Raines almost 2 years ago

Fixes #21711: fix sync status progress bar.

Also fixes the cancel link.

http://projects.theforeman.org/issues/21711

History

#1 Updated by Walden Raines almost 2 years ago

  • Target version set to 234
  • Category set to Web UI

#2 Updated by Walden Raines almost 2 years ago

  • Assignee set to Walden Raines

#3 Updated by Justin Sherrill almost 2 years ago

  • Legacy Backlogs Release (now unused) set to 284

#4 Updated by The Foreman Bot almost 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/7096 added

#5 Updated by Walden Raines almost 2 years ago

  • % Done changed from 0 to 100
  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF