Red Hat Bugzilla – Bug 798548
environment param is not passed when image import fails
Last modified: 2014-08-04 18:30:27 EDT
1. go to image import page
2. fill in some name and image id which doesn't exist
3. press "continue"
a user is redirected to images index page with flash message "The record you tried to access does not exist, it may have been deleted"
a user is redirected back to image import page with message " The requested image was not found on the provider."
(Environment param should be passed as a param to redirect_to in rescue block of import method.)
This has been fixed already -- I can't recall the bz number though, but it's in beta3. Can you re-confirm this with aeolus-image-rubygem and conductor on master?
Yes, bug is still present, a patch sent: https://fedorahosted.org/pipermail/aeolus-devel/2012-March/009362.html
pushed, commit d3eda5e7ecc24eba75115724a357ee9a6cb5fffa
Marking this as verified.while attempting to import a non-existent ami no from ec2 account fails and displays a proper error message. PFA for detailed screenshot.
[root@dhcp201-169 ~]# rpm -qa|grep aeolus
Created attachment 577927 [details]
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.