Ticket #167 (closed Tasks: fixed)

Opened 10 years ago

Last modified 9 years ago

Make LogicMail handle the lack of a writable filesystem root

Reported by: octo Owned by: octo
Priority: normal Milestone: 2.0
Component: LogicMail Version: None
Keywords: Cc:
Blocked By: Blocking:


The following core features are implemented in such a way that they require use of the FileConnection API, which in-turn requires that the device has a writable filesystem root:

  • Local mail folders (Sent/Drafts/Trash, Maildir-based)
  • Local outbox spool (custom MessageNode reader/writer)
  • Offline cache of IMAP/POP network mail stores (custom MessageNode reader/writer)

BlackBerry devices may not always have a usable filesystem. With the exception of the Storm, having a filesystem writable by 3rd-party applications usually requires an SD Card in the device. Furthermore, device security policies could cause issues.

As such, there are two options for resolving this issue:

  1. Require a writable filesystem for LogicMail to function
  2. Implement a persistent store option and fall back to it when necessary

Change History

comment:1 Changed 10 years ago by octo

  • Status changed from new to assigned

comment:2 Changed 10 years ago by octo

  • Priority changed from minor to normal

comment:3 Changed 9 years ago by octo

  • Status changed from assigned to closed
  • Resolution set to fixed

Implemented by making it possible to configure without a local data location, and making certain features enabled/disabled based on that setting. Made possible by the rewrite of several core cache features to use the persistent store instead of the filesystem.

When the filesystem is unavailable, local folders (except Outbox) and message content cache will be unavailable.

Note: See TracTickets for help on using tickets.