6.0.0-beta1
7/5/25

[#11758] [No Subject] displayed when opening a new mail
Summary [No Subject] displayed when opening a new mail
Queue IMP
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester viktor (at) szepe (dot) net
Created 11/26/2012 (4604 days ago)
Due
Updated 12/30/2014 (3840 days ago)
Assigned
Resolved 12/30/2014 (3840 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
12/30/2014 06:27:55 PM Michael Slusarz State ⇒ Not A Bug
Version ⇒ Git master
 
12/03/2012 03:29:55 AM Michael Slusarz Comment #12
State ⇒ Stalled
Reply to this comment
Marking as stalled: nothing more to do unless OP can provide a 
reproducible test case and/or fix.
11/30/2012 07:53:04 PM Michael Slusarz Deleted Original Message
 
11/30/2012 07:52:50 PM Michael Slusarz Comment #11 Reply to this comment
Have no idea.  Everything works fine here and your log looks fine.   
Make sure you are running the latest git version and/or maybe try 
upgrading PHP.
11/30/2012 06:55:16 PM viktor (at) szepe (dot) net Comment #10
New Attachment: a[1].zip
Reply to this comment
diff NOSubject.log OK.log
2c2
< >> Fri, 30 Nov 2012 19:51:48 +0100
---
Fri, 30 Nov 2012 19:53:02 +0100
19c19
< S: * 197 FETCH (UID 57362 FLAGS ())
---
S: * 197 FETCH (UID 57362 FLAGS (\Seen))
30d29
< S: * 197 FETCH (FLAGS (\Seen))

11/30/2012 06:49:46 PM Michael Slusarz Comment #9 Reply to this comment
To further debug this issue, we need details of the IMP -> IMAP/POP 
communication.

To enable debugging, see instructions contained in 
imp/config/backends.php (the 'debug' config parameter).

Debugging should not be enabled on a production server,   Attach/post 
only the portion of the log that directly deals with the problem 
reported (it may be simplest to clear the log file and then perform 
the event that causes the error).
11/30/2012 06:48:56 PM viktor (at) szepe (dot) net Comment #8 Reply to this comment
You need to track down or provide a reproducible test case.
/imp/lib/Contents.php:1506

I went this far: protected function _fetchData
Upon opening an unseen msg $res will be null.
No clue.
Please help!
11/30/2012 04:47:37 PM viktor (at) szepe (dot) net Comment #7 Reply to this comment
You need to track down or provide a reproducible test case.
imp/lib/Contents.php:402

error_log(serialize($this->_header));
         switch ($type) {
         case self::HEADER_OB:

outputs:O:28:"Horde_Imap_Client_Data_Fetch":1:{s:8:"
MISSING end of the object

11/30/2012 04:11:39 PM viktor (at) szepe (dot) net Comment #6 Reply to this comment
You need to track down or provide a reproducible test case.
/usr/share/php/Horde/Imap/Client/Data/Fetch.php:510

case self::HEADER_PARSE:
     if (!isset($this->_data[$key][$id])) {
         error_log('opening new - empty subj');  // when opening an unseen msg
         return new Horde_Mime_Headers();
     } elseif (is_object($this->_data[$key][$id])) {
         return clone $this->_data[$key][$id];
     }
     error_log('opening read - OK'); // when opening a seen msg
     return Horde_Mime_Headers::parseHeaders($this->_getHeaders($id, 0, $key));

Should I search further BEFORE this point or AFTER?

11/30/2012 05:42:12 AM Michael Slusarz Comment #5 Reply to this comment
You need to track down or provide a reproducible test case.
11/26/2012 10:13:36 PM viktor (at) szepe (dot) net Comment #4 Reply to this comment
Have you cleared your cache?
I mean: Now...
11/26/2012 10:12:28 PM viktor (at) szepe (dot) net Comment #3 Reply to this comment
Have you cleared your cache?
No I even switched it off:
$conf['cache']['driver'] = 'Null';

11/26/2012 09:56:04 PM Michael Slusarz Comment #2 Reply to this comment
Have you cleared your cache?
11/26/2012 02:46:10 PM viktor (at) szepe (dot) net Comment #1
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ [No Subject] displayed when opening a new mail
Type ⇒ Bug
Reply to this comment
When a message arrives and I open it, IMP displays:

[No Subject]

After reloading the page or reopening the message the subject appears.
After marking it as Unseen, [No Subject] "comes back".
(just upgraded from H4)

Saved Queries