Bug #6472
closed404 not found when clicking on "Add" immediately after clicking existing/creating new package-group filter name
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1113230
Description of problem:
I was trying to verify bz 1111145, and found that we when immediately click on 'Add' button after clicking package group filter name. Page went into Loading state. And firebug raises 404 not found. Also a long trace back raised in production.log
Version-Release number of selected component (if applicable):
sat6 beta snap10 compose3
How reproducible:
always
Steps to Reproduce:
1. create a repo rhel65_x64
2. create CV add repo to it
3. create filter of type package-group
4. on creation, click on 'Add' ( without loading the page completely)
Actual results:
NetworkError: 404 Not Found - https://10.65.207.190/katello/api/v2/content_view_filters//available_package_groups?page=1&search="
Expected results:
I think 'Add' button should only be enabled when the page is fully loaded to prevent this issue.
Additional info: