blackberry/Ripple-UI — Issue #228: [BB device]  blackberry.io.dir.getParentDirectory generates exception
Author: kwallis
Created: 2011-11-07 16:22:49+00:00
State: open
Labels: Bug, High Severity

[2376820]

var path = "file:///SDCard/dir";

blackberry.io.dir.createNewDir(path);

var dir = blackberry.io.dir.getParentDirectory(path);

expect: dir = "file:///SDCard/"

actual : Unexpected error: 'undefined' is not a function (evaluating 'a.getParent(function(a){},n)')