[ 
https://issues.apache.org/jira/browse/CB-2649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600830#comment-13600830
 ] 

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: https://issues.apache.org/jira/browse/CB-2649
>             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|https://github.com/lorinbeer/cordova-blackberry/commit/780161d1e9d3ee157dc3917cb7fb084ffba1dbbc]
>  and [Mobile-Spec 
> 2.5.0|https://github.com/lorinbeer/cordova-mobile-spec/tree/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 5.1.0.230

--
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: http://www.atlassian.com/software/jira

Reply via email to