blackberry/Ripple-UI — Issue #230: [PB]  all subfolders under shared folder  do not exist
Author: kwallis
Created: 2011-11-07 16:25:34+00:00
State: open
Labels: Bug, High Severity

[2381971]

var resultDirs = blackberry.io.dir.appDirs;

var newDir = "/newDir";

var newDirPath = resultDirs.shared.photos.path + newDir;

blackberry.io.dir.createNewDir(newDirPath);

"'undefined' is not an object (evaluating 'c.children')"

the root cause is there is not "photos" subfolder under shared folder .

All following subfodlers should be created in advance .

bookmarks
books
camera
documents
downloads
misc
music
photos
print
videos
voice