Red Hat Bugzilla – Bug 500719
"Channel has been deleted" message is displayed one step earlier before confirming
Last modified: 2015-03-22 21:10:03 EDT
Description of problem:
"Channel has been deleted" message is displayed after clicking on "delete software channel" before confirming deletion by clicking on "Delete Channel" button.
Display only bug as channel is not really deleted until we click "Delete channel" button.
Version-Release number of selected component (if applicable):
The problem seems to have appeared in Satellite-5.3.0-RHEL5-re20090507.1-i386 iso. I am not able to reproduce it in previous x86_86 iso (Satellite-5.3.0-RHEL5-re20090424.1-x86_64).
Steps to Reproduce:
1. Create custom channel xyz
2. Create another custom channel xyzw
3. Go to manage software channels.
4. Delete each of them and observe when is "Channel ... has been deleted" message displayed.
Message displayed before confirming deletion (Not every time. If you go back and delete again, it doesn't happen)
Message should be displayed after confirming deletion every time.
Created attachment 343868 [details]
Channel deleted message displayed before confirmation
On some more testing, it seems like the message is displayed later and not earlier. In previous snapshot also, you can see the message "channel foobar has been deleted" when we are trying to delete "foobar-1". This is because foobar was deleted before foobar-1.
So basically, if I delete a channel "xyz" and do some other operation, say clone a channel, the message channel "xyz" has been deleted is displayed on clone channel page.
Created attachment 344006 [details]
Screenshot for comment #2
Ported delete channel page to Java; success/failure messages now properly displayed on manage channels page.
Verified in stage -> RELEASE_PENDING.
* created 2 custom channels
* deleted both custom channels
* message appearead after delete confirmation
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.