ripple-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Horn (JIRA)" <j...@apache.org>
Subject [jira] [Created] (RIPPLE-101) Unhandled exception if user asks to choose camera image and then cancels
Date Tue, 29 Sep 2015 13:57:04 GMT
Julian Horn created RIPPLE-101:
----------------------------------

             Summary: Unhandled exception if user asks to choose camera image and then cancels
                 Key: RIPPLE-101
                 URL: https://issues.apache.org/jira/browse/RIPPLE-101
             Project: Apache Ripple
          Issue Type: Bug
            Reporter: Julian Horn
            Assignee: Julian Horn


When the program under test uses the camera plugin to capture a file, a dialog is raised that
allows the user to choose a file on disk to represent the captured image or video.  This has
two buttons to select a file and use selected file.  If you click select file it raises the
usual file picker dialog.

You can cancel out of this dialog without selecting any file.  This still generates a "change"
event, but the array of selected files is null.  This causes an unhandled exception.

There are also some more subtle bugs.  For example, you can select a file and then wait a
while before you click "use selected file",  During that time the file could be deleted or
renamed.  So it's possible to get errors reading the selected file.  This case isn't handled
either.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message