Bug 864807 - Got error when delete ssh keys on Devenv on IE9 and Safari.
Summary: Got error when delete ssh keys on Devenv on IE9 and Safari.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: N. Harrison Ripps
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-10 07:40 UTC by Mengjiao Gao
Modified: 2015-05-15 01:14 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:49:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Mengjiao Gao 2012-10-10 07:40:12 UTC
Description of problem:
    After I clicked "delete" button to delete ssh key in /app/account page, I can get the delete confirm box. When I clicked "OK" to confirm, the page will still stay on the delete confirm page, and cannot turn back to my account page.However, the ssh key have been deleted successfully in the fact.
    If I clicked the "ok" button third time , the page will redirected to page said that :"Key <keyname> does not exist."

Version-Release number of selected component (if applicable):
devenv_2303

How reproducible:
always

Steps to Reproduce:
1.Go to /app/account page.
2.Add a ssh key.
3.Click "delete" button to delete the key.
4.Click "OK" to confirm deletion.
5.Click "ok" button again.
6.Repeat step 5.  

Actual results:
After step 4, the page will still stay on the delete confirm page.While the key have been deleted actually.
After step 5, the page will still stay on the delete confirm page.
After step 6, the page will redirect to a error page said that "Key <keyname> does not exist."

Expected results:
After step 4, the key should be deleted successfully, and the page will redirected the /app/account page.

Additional info:
This issue does not exist on product and other browers.

Comment 1 Mengjiao Gao 2012-10-11 08:22:15 UTC
Tested this issue on devenv_2311, found it also exists on Safari,Mac Os.  User need click "ok" or "cancle" button three times to close the delete confirm page.

Comment 2 N. Harrison Ripps 2012-10-19 14:13:05 UTC
Assigned.

Comment 3 N. Harrison Ripps 2012-10-19 19:10:44 UTC
In development mode, we were not explicitly cleaning out redundant JavaScript sources. This caused an unexpected condition in some browsers where the event model was triggered multiple times, once per inclusion of jQuery.

I've updated the devenv.spec file to force a purge of redundant assets; this stops the unexpected behavior.

Fix can be tested in fork_ami_BZ864807_testing_bug_fix_252.

Comment 4 Mengjiao Gao 2012-10-22 02:37:55 UTC
Tested this issue on devenv_2360, the issue have  been fixed now. I can delete the sshkey successfully when I clicked the "OK" button on IE9. Thanks!

Comment 5 Mengjiao Gao 2012-10-22 03:35:18 UTC
Tested this issue on fork_ami_BZ864807_testing_bug_fix_252 , the sshkey can be deleted successfully when clicked "ok" button on IE9, firefox, and Chrome21. Thanks.


Note You need to log in before you can comment on or make changes to this bug.