Bug 953361

Summary: Source document name search triggers delete confirmation.
Product: [Retired] Zanata Reporter: David Mason <damason>
Component: UsabilityAssignee: David Mason <damason>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: zanata-bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: 2.3-SNAPSHOT (20130419-0036) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-11-27 03:22:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description David Mason 2013-04-18 03:59:32 UTC
Description of problem:
On the source documents page, pressing Enter key when the document name search is focused triggers a search as it should, but also shows a popup with "Are you sure you want to delete this document?". Pressing 'OK' on the dialog will delete a document, which appears to be the first document displayed in the list after the search has returned results.

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

How reproducible:

Steps to Reproduce:
1. Sign in and navigate to source documents page with 1 or more source documents
2. Click in the search field at the top of the 'Name' column
3. Press the Enter key (typing before pressing enter makes no difference)
Actual results:
Modal popup is shown asking whether to delete a document. Search completes after dialog is closed.

Expected results:
No delete operation is triggered. Only search is performed.

Additional info:

Comment 1 David Mason 2013-04-18 04:01:03 UTC
Fixed in 2.3-SNAPSHOT

See:  https://github.com/zanata/zanata/commit/afa8efce991a43f00b798b551b0a64c495d15299

Comment 2 Ding-Yi Chen 2013-04-19 02:28:45 UTC
VERIFIED with Zanata version 2.3-SNAPSHOT (20130419-0036)

Comment 3 Sean Flanigan 2013-11-27 03:22:20 UTC
Closing bugs which were VERIFIED with snapshots <= 3.1.