bug in EmailTemplateService.CreateMessage when checking for <html> node

0 views
Skip to first unread message

bdaniel7

unread,
May 4, 2009, 11:46:20 AM5/4/09
to Castle Project Users
Hello,

I think there is a bug in EmailTemplateService.CreateMessage
(StringWriter writer),
at line :
if (message.Body.ToLowerInvariant().IndexOf("<html>") != -1).

<html> node can contain some properties and the above condition will
create a text email,
even though its content is html.


Ola

unread,
Dec 17, 2009, 10:01:05 AM12/17/09
to castle-pro...@googlegroups.com
I just ran into this old bug.

Did anyone investigate it last time it appeared or should I just open
an issue for it?

John Simons

unread,
Dec 17, 2009, 4:03:54 PM12/17/09
to Castle Project Users
Please create a bug report in Donjon http://support.castleproject.org/

Thanks
John

John Simons

unread,
Dec 20, 2009, 12:07:07 AM12/20/09
to Castle Project Users
Fixed in trunk r6481.

Cheers
John

On Dec 18, 8:03 am, John Simons <johnsimons...@yahoo.com.au> wrote:
> Please create a bug report in Donjonhttp://support.castleproject.org/

Reply all
Reply to author
Forward
0 new messages