cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lorin Beer (JIRA)" <>
Subject [jira] [Commented] (CB-2649) blackberry 7, file permissions being denied after reinstall of app
Date Wed, 13 Mar 2013 05:10:12 GMT


Lorin Beer commented on CB-2649:

after beating this with sticks, we've determined the problem:

Steps to reproduce:

1. install Mobile Spec Cordova application
2. run file tests under autotests page
3. press end call button
4. reinstall application using ./cordova/run blackberry
5. run file tests again

the above prevents the cordova app from cleaning its own temp directory. This directory still
exists when the app is run after the reinstall, but BB OS no longer recognizes the app as
having write/read access to the temp directory (or the directory is corrupt) and throws an
ambiguous ControlledAccessException.

Fix will be pulled in tomorrow.
> blackberry 7, file permissions being denied after reinstall of app
> ------------------------------------------------------------------
>                 Key: CB-2649
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: BlackBerry
>    Affects Versions: 2.5.0
>            Reporter: Lorin Beer
>            Assignee: Lorin Beer
>            Priority: Blocker
>             Fix For: 2.6.0
> When running the Mobile Spec File auto tests, an uncaught exception (ControlledAccessException)
prevents the page from running any tests.
> FileUtils seems to be able to get the local file system, and create an application temp
directory, but fails when trying to init a PosixFileConnection.
> Replicated on multiple BB 7 devices, with Cordova-Blackberry at [current head|]
and [Mobile-Spec 2.5.0|]
> Environment (affects reproducibility):
> java version "1.6.0_43"
> Java(TM) SE Runtime Environment (build 1.6.0_43-b01-447-11M4203)
> Java HotSpot(TM) 64-Bit Server VM (build 20.14-b01-447, mixed mode)
> Blackberry 9900
> 7.1 Bundle 998 (v7.1.0.284) Platform

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message