Page MenuHomePhorge

return empty folder list if backend is disabled
AbandonedPublic

Authored by dhoffend on Apr 13 2019, 7:04 PM.
Tags
None
Referenced Files
F11807466: D749.id.diff
Fri, Apr 19, 11:30 AM
Unknown Object (File)
Tue, Apr 9, 8:57 PM
Unknown Object (File)
Sun, Mar 31, 5:35 PM
Unknown Object (File)
Sat, Mar 30, 2:52 PM
Unknown Object (File)
Sat, Mar 30, 2:39 PM
Unknown Object (File)
Fri, Mar 29, 7:50 AM
Unknown Object (File)
Mar 7 2024, 4:32 AM
Unknown Object (File)
Mar 6 2024, 8:46 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Chwala Developers
Summary

When the file storage has been disabled, return an empty list of folders
otherwise inaccessible folders will be listed

Diff Detail

Repository
rC chwala
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 23669
Build 9590: arc lint + arc unit

Event Timeline

dhoffend created this revision.

In my case: the kolab was used as backend, the backend storage was disabled and an additional pre-defined source to a seafile server was configured. In the kolab_files folder list the Imap Files Folder always showed up, but couldn't be selected because the backend storage was disabled. This was confusing. When deleted it always got recreated, ether through the autocreate_folders section or kolab_folders plugin.

The best way IMO is to return an empty folder list when the backend_storage is disabled. Otherwise autocreate_folders and the kolab_folders plugin would need to be adjusted (well, they still could be tuned to match the autocreate_folders parameter in kolab.conf ...

machniak subscribed.

Thanks, I fixed this in another place. See c32f0674ace8.

Sounds good to me. Do you mind and accept the change in kolab-docs? D743