Power Mail fails to display message content

Asked by nzresearch

Power Mail fails to display message contents under the 1 or attachments tab.
The attachments download fine, and if the message is forwarded to a non-power email client they display properly.
Installed on Ubuntu Hardy, with python 2.5, using web client.

permissions of addon folders are correct

any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Power Email Edit question
Assignee:
No assignee Edit question
Solved by:
nzresearch
Solved:
Last query:
Last reply:
Revision history for this message
nzresearch (sboy031) said :
#1

ok - played around - it's definitely a problem with poweremail_mailbox_view.xml

in the web client the three tabs that show up are "1", "attachments" and "advanced" looking at the xml i assume this should be "Standard Body", "attachments" and "advanced".

Also under the attachments tab a standard body field is appear which shouldn't. The culprit seems to be the "notebook" tag in the xml. I'll play around see what i can find.

Revision history for this message
nzresearch (sboy031) said :
#2

changed this
<notebook colspan="4">
 <page string="Standard Body1">
  <field name="pem_body_text" nolabel="1" colspan="4" select="1"/>
 </page>
 <page string="HTML Body">
  <field name="pem_body_html" nolabel="1" colspan="4" widget="text_html" />
 </page>
</notebook>

to this
<group col="4">
   <separator colspan="4" string="Standard Body" />
   <field name="pem_body_text" nolabel="1" colspan="4" select="1"/>
   <separator colspan="4" string="HTML Body" />
   <field name="pem_body_html" nolabel="1" colspan="4" widget="text_html" />
</group>

seems to work alright - although both body types are displayed, HTML, plain

Revision history for this message
Sharoon Thomas http://openlabs.co.in (sharoonthomas) said :
#3

The issue is with web client.
Check your version.
this regression Was supposedly fixed long back.

As u would have noted there's no issue in the xml code

Sharoon Thomas,
Business Analyst & ERP Consultant,
--Sent from Google android

On 26 Jan 2010 05:06, "nzresearch" <email address hidden>
wrote:

Question #98702 on Power Email changed:
https://answers.launchpad.net/poweremail/+question/98702 nz...
changed this
<notebook colspan="4">
       <page string="Standard Body1">
               <field name="pem_body_text" nolabel="1" colspan="4"
select="1"/>
       </page>
       <page string="HTML Body">
               <field name="pem_body_html" nolabel="1" colspan="4"
widget="text_html" />
       </page>
</notebook>

to this
<group col="4">
  <separator colspan="4" string="Standard Body" />
  <field name="pem_body_text" nolabel="1" colspan="4" select="1"/>
  <separator colspan="4" string="HTML Body" />
  <field name="pem_body_html" nolabel="1" colspan="4" widget="text_html" />
</group>

seems to work alright - although both body types are displayed, HTML,
plain

-- You received this question notification because you are an answer contact
for Power Email.

Revision history for this message
nzresearch (sboy031) said :
#4

cool - looks like it may be a version issue - looked at the package version numbers for the web-client installation on Hardy (ubuntu 8.04 LTS) and noted that specifically some of the xml related components are older than those found on Karmic. So hardy has some older python xml packages hence possible incompatibility

Revision history for this message
nzresearch (sboy031) said :
#5

Thanks for the help Sharoon, most definitely a Web Client fault with applying nested "notebook" tags, applied the following patch and everything worked fine

http://bazaar.launchpad.net/~openerp/openobject-client-web/5.0/revision/2727