Bug 953361 - Source document name search triggers delete confirmation.
Summary: Source document name search triggers delete confirmation.
Alias: None
Product: Zanata
Classification: Retired
Component: Usability
Version: unspecified
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: David Mason
QA Contact: Ding-Yi Chen
Depends On:
TreeView+ depends on / blocked
Reported: 2013-04-18 03:59 UTC by David Mason
Modified: 2013-11-27 03:22 UTC (History)
1 user (show)

Fixed In Version: 2.3-SNAPSHOT (20130419-0036)
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-11-27 03:22:20 UTC

Attachments (Terms of Use)

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.

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