Sync Status progress bar does not work
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
This obviously never ends and staying on the page leads to an infinite task polling.
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
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.
sync status retrieved correctly, feeding progress bar with correct data, finishing when sync complete