#99 "Take" button (to unorphan packages) does not work if the page is not fully loaded
Closed: Fixed 4 years ago by pingou. Opened 4 years ago by ktdreyer.

Today I tried to take an orphaned package. The "Take" button did not work after several tries. I had to wait for the entire page to complete all the async loading calls, and then the "Take" button worked.

Steps to reproduce:
1. Ensure you are logged into the pagure-dist-git web UI
2. Type the URL of an orphaned package into your browser (I used https://src.fedoraproject.org/rpms/python-jenkins-job-builder)
3. Do not wait for the page to fully load (Ie, the spinners are still spinning for the "Monitoring Status" and "bodhi_updates" table in the HTML.)
4. Click the "Take" button as soon as possible.

Actual Results:
The "Take" button has no effect. There is no visible error to the user.

Expected Results:
The "Take" button works immediately, whether or not the rest of the elements on the page have loaded.

Additional Information:
After I tried this about four times, on a whim I tried letting the web page completely load, so that "Monitoring Status" and "bodhi_table" were completely populated. At that point I clicked the "Take" button, and it worked.


Metadata Update from @pingou:
- Issue assigned to pingou

4 years ago

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #4740 Merged 4 years ago