6.0.0-git
2019-03-20

[#4418] Notice: Trying to get property of non-object in /home/www/html/mail/imp/lib/IMAP/MailboxCache.php on line 273
Summary Notice: Trying to get property of non-object in /home/www/html/mail/imp/lib/IMAP/MailboxCache.php on line 273
Queue IMP
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners slusarz (at) horde (dot) org
Requester amith (at) xalan (dot) com
Created 2006-09-13 (4571 days ago)
Due
Updated 2006-10-17 (4537 days ago)
Assigned 2006-10-11 (4543 days ago)
Resolved 2006-10-16 (4538 days ago)
Milestone
Patch No

History
2006-10-17 20:51:18 amith (at) xalan (dot) com Comment #6 Reply to this comment
I don't think this is resolved because I am still having the issue.   
Is this the only file that was updated in this fix or were there others?
2006-10-16 02:27:25 Michael Slusarz Comment #5
State ⇒ Resolved
Reply to this comment
This was fixed about a week ago.  I just added a bit more error 
checking tonight.
2006-10-11 11:47:02 Jan Schneider State ⇒ Assigned
 
2006-10-04 18:43:00 amith (at) xalan (dot) com Comment #4 Reply to this comment
I want to point out my initial recreation steps were inaccurate.  You 
have to click Delete first before the message gets delivered.  Somehow 
when its on the last message, it wants to goto mailbox view and load 
the tooltip preview for the unread messages on the page but it can't 
for the SPAM message because it was filtered (moved) by Ingo.
2006-10-04 18:40:28 amith (at) xalan (dot) com Comment #3 Reply to this comment
I'm talking about Ingo filtering (prefs).  Like I mentioned before 
this happens when I'm on the last message in the folder and I click 
Delete and after I click "Delete" a message gets delivered that will 
be filtered by Ingo (specifically for me the message is a SPAM message 
that gets moved to my SPAM folder).  I have previews/tooltips enabled. 
  Here is the relevant code block:



                         if (!$prev_unread || !$ptr->seen) {

                             $ptr->preview = 
$this->_generatePreview($mailbox, $val);

                             $save = true;

                         }



The error message is complaining about $ptr not being an object.
2006-09-29 05:44:22 Michael Slusarz Comment #2 Reply to this comment
If a new message comes in when I'm viewing the last e-mail in the
INBOX, and that new message will be moved to another folder by a
filter, then I receive the following error message:
What filters are you talking about?  This situation occurs all the 
time and I've never had an issue (I use procmail filtering).
2006-09-13 15:00:30 Chuck Hagenbuch Assigned to Michael Slusarz
 
2006-09-13 14:53:19 amith (at) xalan (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Notice: Trying to get property of non-object in /home/www/html/mail/imp/lib/IMAP/MailboxCache.php on line 273
Queue ⇒ IMP
Reply to this comment
If a new message comes in when I'm viewing the last e-mail in the 
INBOX, and that new message will be moved to another folder by a 
filter, then I receive the following error message:



Notice: Trying to get property of non-object in 
/home/www/html/mail/imp/lib/IMAP/MailboxCache.php on line 273



Recreation steps:



1) View the last e-mail in your INBOX

2) From another account send yourself a message that will be filtered 
somehow (and moved to another folder)

3) Wait until the message gets delivered, then delete the message you 
are currently viewing



You should receive the error.


Saved Queries