6.0.0-beta1
7/9/25

[#9616] compose empty html message
Summary compose empty html message
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/02/2011 (5243 days ago)
Due
Updated 03/03/2011 (5242 days ago)
Assigned
Resolved 03/03/2011 (5242 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/03/2011 10:25:43 PM Michael Slusarz Assigned to Michael Slusarz
State ⇒ Resolved
 
03/03/2011 10:25:34 PM Git Commit Comment #3 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9616: Initialize variable

http://git.horde.org/horde-git/-/commit/4c49571cf0f1d9ecdfa93107c996dbeacd822225
03/03/2011 10:25:31 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git for this ticket:

Bug #9616: DOMDocument requires valid (non-empty) HTML input

http://git.horde.org/horde-git/-/commit/8ba0369c11ea18f98f0e86f254d43fceec10f8eb
03/02/2011 09:08:33 AM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ IMP
Summary ⇒ compose empty html message
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
using traditional mode, $_prefs['compose_html']['value'] = 1;

compose a new message, set the receiver (to myself) and subject then 
click send. The message is sent (and I received it) but I get the 
following errors/warnings in horde.log :

2011-03-02T09:32:44+01:00 DEBUG: HORDE [imp] PHP ERROR: 
DOMDocument::loadHTML(): Empty string supplied as input [pid 9235 on 
line 67 of "/var/www/html/hordetest/libs/Horde/Domhtml.php"]
2011-03-02T09:32:44+01:00 DEBUG: 1. IMP_Compose->buildAndSendMessage() 
/var/www/html/hordetest/imp/compose.php:422
2. IMP_Compose->_createMimeMessage() 
/var/www/html/hordetest/imp/lib/Compose.php:545
3. Horde_Core_Factory_TextFilter->filter() 
/var/www/html/hordetest/imp/lib/Compose.php:1083
4. Horde_Text_Filter::filter() 
/var/www/html/hordetest/libs/Horde/Core/Factory/TextFilter.php:71
5. Horde_Text_Filter_Html2text->postProcess() 
/var/www/html/hordetest/libs/Horde/Text/Filter.php:93
6. Horde_Domhtml->__construct() 
/var/www/html/hordetest/libs/Horde/Text/Filter/Html2text.php:96
7. DOMDocument->loadHTML() /var/www/html/hordetest/libs/Horde/Domhtml.php:67
8. Horde::errorHandler()

2011-03-02T09:32:44+01:00 DEBUG: HORDE [imp] PHP ERROR: Undefined 
variable: recipients [pid 9235 on line 808 of 
"/var/www/html/hordetest/imp/lib/Compose.php"]
2011-03-02T09:32:44+01:00 DEBUG: 1. IMP_Compose->buildAndSendMessage() 
/var/www/html/hordetest/imp/compose.php:422
2. IMP_Compose->sendMessage() /var/www/html/hordetest/imp/lib/Compose.php:580
3. IMP_Compose->_prepSendMessage() 
/var/www/html/hordetest/imp/lib/Compose.php:781
4. Horde::errorHandler() /var/www/html/hordetest/imp/lib/Compose.php:808


Saved Queries