Issue Bug Closed

#41569File module: Root-level folders cannot be displayed anymore

Andreas Wolf 10/03/12, 16:02 updated 10/23/17, 22:13

Description

A patch for the folder-not-found handling (commit 8b43aa7d54cf79ea285fcb7f0ee30fdf4e370d40) broke the display of root-level folders. The folder object is not correctly initialized anymore in FileListController::init().

Besides that, the solution is also conceptually broken – we cannot rely on hierarchical identifiers in FAL. I think we have to add a new method getParentFolderForIdentifier() to the drivers that helps us resolving this. This method might however not work everywhere, esp. on non-hierarchical storages. All client code using this method has to account for this.

Reviews 1