Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
0.1
-
None
-
None
Description
Currently message and folder storage share the same single parent hierachy so that If I have 2 imap folders INBOX and INBOX/test the JCR node structure is
.../INBOX/2010/05/31/message121231
.../INBOX.test/2010/05/31/message345345
Which results in the date structure being part of the folder and the imap folder not being represented as a folder. It also means that messages really are moved, when they are moved.
The proposed layout is to move the folders into their own hierarchy and have the messages in a sepeate hierachy, still one per user
so a message in JCR looks like this (my uid is ieb)
...ieb/store/2010/06/08/message121243
- jamesMailboimapfolders = [
a3de-34ed-2aef-2134-2e34,
a3de-34ed-2aef-2134-2e35
]
....
and the folders like this
...ieb/INBOX
- rep:uuid = a3de-34ed-2aef-2134-2e34
...ieb/INBOX/test - rep:uuid = a3de-34ed-2aef-2134-2e35
where jamesMailbox:imapfolders is a REFERENCE type in cnd
to list a folder, is a query
message121243 appears in both INBOX and INBOX/test
There would need to be some changes to the webdav classes/plugins to make this work in webdav.