Deleting packages that aren't in a channel causes a 500 error: /network/software/packages/manage/delete_confirm.pxt 1) Create channel 2) Add a package to it 3) Delete the channel 4) You get a new dialog indicating there are orphaned packages and a select list with them in it 5) Select the package. Click Delete Packages. 500 Error I thought I got all the package queries that I switched from nvre to nvrea but I missed this one. Instead, I'm going to make sure the queries that I switched over include both, the nvre and nvrea, (as Bret suggested before) that way any possible list pages that I missed will have both available. The workaround is to delete the packages from the channel before you delete the channel itself, but the problem is that once this takes place, your packages show up in the "Packages in no channels" list under Package Management but you can't delete them.
The fix is coded, just need to know where to stick it (if we are going to include this in 370 or not.
TEST PLAN: 1) Create channel 2) Add a package to it 3) Delete the channel 4) You get a new dialog indicating there are orphaned packages and a select list with them in it 5) Select the package. Click Delete Packages. 6) Should get a confirm dialog without error 7) Delete the package. Should work ok.
flipping to ON_QA
Looks good on QA. - For sat testing: just add packages using the webUI - For hosted testing: Use a proxy, and use rhn_package_manager from the proxy to upload packages to the channel