#472 Viewing unicode mail messages raises error

v2.1-rc3
closed-invalid
5
2006-05-22
2006-05-22
Kevin Campbell
No

Looks like the subject is not being converted to
unicode correctly.

# Module ZPublisher.Publish, line 101, in publish
# Module ZPublisher.mapply, line 88, in mapply
# Module ZPublisher.Publish, line 39, in call_object
# Module
/usr/local/zope-instances/mm_headtest/Products/MailManager/Extensions/TicketPluggableBrain.py,
line 98, in index_html
# Module Shared.DC.Scripts.Bindings, line 306, in __call__
# Module Shared.DC.Scripts.Bindings, line 343, in
_bindAndExec
# Module Products.PageTemplates.PageTemplateFile, line
106, in _exec
# Module Products.PageTemplates.PageTemplate, line 96,
in pt_render
<PageTemplateFile at
/platforms/headtest/customers/lp/mmheadtest/ticket_index_html
used for /platforms/headtest/customers/lp/mmheadtest>
# Module TAL.TALInterpreter, line 190, in __call__
# Module TAL.TALInterpreter, line 234, in interpret
# Module TAL.TALInterpreter, line 460, in do_setLocal_tal
# Module Products.PageTemplates.TALES, line 221, in
evaluate
URL: ticket_index_html
Expression: <PythonExpr unicode(request.get('subject',
''), 'utf-8') or
here.account(email=here.account_id)[0].getTicketReplySubject(here.id,
here.subject)>
Names:

Discussion

  • Kevin Campbell
    Kevin Campbell
    2006-05-22

    • status: open --> closed-invalid
     
  • Kevin Campbell
    Kevin Campbell
    2006-05-22

    Logged In: YES
    user_id=1241761

    Not a valid bug, problem is due to misconfiguration. Output
    unicode strings was not set on the database adapter.