[Tickets #9439] Re: new subfolder doesn't show in folder list

bugs at horde.org bugs at horde.org
Tue Jan 18 07:07:45 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9439
------------------------------------------------------------------------------
  Ticket             | 9439
  Updated By         | Michael Slusarz <slusarz at horde.org>
  Summary            | new subfolder doesn't show in folder list
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
-Owners             |
+Owners             | Michael Slusarz
------------------------------------------------------------------------------


Michael Slusarz <slusarz at horde.org> (2011-01-18 02:07) wrote:

> POST :
> mbox=tettt&parent=INBOX.Test2.TEst.123
>
> Response :
> /*-secure-{"response":{"mailbox":{"a":[{"m":"INBOX.Test2.TEst.123.tettt","l":"tettt","pa":"INBOX.Test2.TEst.123","t":"Test2.TEst.123.tettt","cl":"folderImg"}]}},"msgs":[{"charset":"UTF-8","message":"Le dossier \u00ab\u00a0Test2.TEst.123.tettt\u00a0\u00bb a bien \u00e9t\u00e9 cr\u00e9\u00e9.","flags":[],"type":"horde.success"},{"charset":"UTF-8","message":"000","flags":{"alarm":{"id":"20101207131722.DSPTHIgBqn9M-iXSNGx3QLA at 127.0.0.1","user":"rsalmon","start":{},"end":{},"methods":["notify"],"params":{"notify":{"show":{"__app":"kronolith","event":"J3QRYogBqn9M-iXSM__3QLA","calendar":"rsalmon"},"ajax":"event:internal|rsalmon:J3QRYogBqn9M-iXSM__3QLA:20101210","subtitle":"From <strong>10.12.2010 at 12:00<\/strong> to <strong>10.12.2010 at  
> 13:00<\/strong>"}},"title":"000","text":null,"snooze":null,"internal":null}},"type":"horde.alarm"}]}*/

Sure enough, your JSON response is badly broken.  It only lists a  
single added mailbox.  But there also needs to be a "changed" mailbox  
- namely the original mailbox (since it now contains children).  e.g.:

POST :
mbox=b&parent=INBOX.test1

JSON Response:

/*-secure-{"response":{"mailbox":{"a":[{"m":"INBOX.test1.b","l":"b","pa":"INBOX.test1","t":"test1.b","cl":"folderImg"}],"c":[{"ch":1,"m":"INBOX.test1","l":"test1","t":"test1","cl":"folderImg"}]}},"msgs":[{"charset":"UTF-8","message":"The folder \"test1.b\" was successfully created.","flags":[],"type":"horde.success"},{"charset":"UTF-8","message":"You were successfully subscribed to  
\"test1.b\"","flags":[],"type":"horde.success"}]}*/

As can be seen, my response has both an 'a' entry (the new mailbox)  
and a 'c' entry (the parent mailbox).

You (or someone else who can reproduce) will have to track down why  
the 'c' entry is not being returned.  This information is generated  
via the trackdiff functionality in IMP_Imap_Tree.






More information about the bugs mailing list