Empty Role Root Directory causes "No trees found" error
kingandy - August 17, 2009 - 13:22
| Project: | Web File Manager |
| Version: | 6.x-2.10-rc5 |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
Though the Role Root Directory is not marked as a "required" field, leaving it empty causes a 'No trees found' error when a user of that role tries to use the Web File Manager (as well as a Drupal message complaining of the empty directory whenever the admin form is loaded).
It seems to me that if no Role Root Directory is specified for a given role, they should be presented with the base WebFM folder.

#1
Actually a message is shown:
"Role root directory not set for *** role"
The field is not required:
This way you can still save the settings form, handle the creation of the necesary and fix the path afterwards.