[zanata-bugs] [Bug 1076330] New: Exception when trying to delete multiple documents through the source documents page

bugzilla at redhat.com bugzilla at redhat.com
Fri Mar 14 05:34:21 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1076330

            Bug ID: 1076330
           Summary: Exception when trying to delete multiple documents
                    through the source documents page
           Product: Zanata
           Version: development
         Component: Usability
          Assignee: djansen at redhat.com
          Reporter: damason at redhat.com
        QA Contact: zanata-qa at redhat.com
                CC: zanata-bugs at redhat.com



Description of problem:
On the source documents page, there is a delete button next to each document.
The page refreshes when a document is deleted, but it is possible to click
another delete button, or click the same delete button again, before the
refresh. This can cause an exception, when it should be a no-op.



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


How reproducible:
Easy, always

Steps to Reproduce:
1. Sign in and navigate to the source documents page of a project for which you
have maintainer permission. The project should have at least one document.
2. Click the delete button next to a document
3. Press 'OK' on the confirmation dialog
4. Quickly repeat step 2-3 for the same document (use Enter or Spacebar to
press 'OK' quickly)

Actual results:
An error page is shown.

Expected results:
Delete button is not able to be clicked after deletion has been confirmed
(possibly replaced with text such as 'deleting')

Additional info:
The server log shows a stack trace with a NullPointerException when looking up
the document.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=PjGswJ62hs&a=cc_unsubscribe




More information about the zanata-bugs mailing list