6.0.0-beta1
9/2/25

[#9631] mark as seen/unseen : Illegal offset type
Summary mark as seen/unseen : Illegal offset type
Queue IMP
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester rsalmon (at) mbpgroup (dot) com
Created 03/08/2011 (5292 days ago)
Due
Updated 03/08/2011 (5292 days ago)
Assigned
Resolved 03/08/2011 (5292 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/08/2011 09:15:23 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
03/08/2011 09:14:50 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9631: Another IMP_Mailbox array key fix

  1 files changed, 2 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/3198a1b8e87da3528de071b4dfabd8fc6d4da60c
03/08/2011 08:20:47 AM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ mark as seen/unseen : Illegal offset type
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
using dynamic view, select a message in INBOX and mark it as seen or 
unseen. It does work, but I get the following errors in horde.log :


2011-03-08T09:04:51+01:00 DEBUG: HORDE [imp] PHP ERROR: Illegal offset 
type [pid 15410 on line 1896 of 
"/var/www/html/hordetest/imp/lib/Ajax/Application.php"]
2011-03-08T09:04:51+01:00 DEBUG: 1
Horde_Core_Ajax_Application->doAction() 
/var/www/html/hordetest/services/ajax.php:60
2. call_user_func() 
/var/www/html/hordetest/libs/Horde/Core/Ajax/Application.php:95
3. IMP_Ajax_Application->flagMessages()
4. IMP_Ajax_Application::pollEntry() 
/var/www/html/hordetest/imp/lib/Ajax/Application.php:735
5. Horde::errorHandler() 
/var/www/html/hordetest/imp/lib/Ajax/Application.php:1897

print_r($mbox) and print_r($imaptree[$mbox]->poll_info) before the 
return call (Horde/Core/Ajax/Application.php line 1895) gives this :

2011-03-08T09:04:51+01:00 INFO: HORDE [imp] IMP_Mailbox Object
(
     [_cache:protected] => Array
         (
             [display] => Boîte de réception
         )

     [_mbox:protected] => INBOX
)
  [pid 15410 on line 1894 of 
"/var/www/html/hordetest/imp/lib/Ajax/Application.php"]
2011-03-08T09:04:51+01:00 INFO: HORDE [imp] stdClass Object
(
     [msgs] => 42
     [recent] => 0
     [unseen] => 12
)
  [pid 15410 on line 1894 of 
"/var/www/html/hordetest/imp/lib/Ajax/Application.php"]

Saved Queries