Problem with dashboard mail in outlook after upgrade from 3.8.13 to 4.0.7

Hi,

I recently upgraded our RT from 3.8.13 to 4.0.7.
After that if I view an dashboard mail in Outlook (2003) there are the
vertical scrollbars missing. If you have many objects within an
dashboard you can’t see anything.
I checked the html source and the content is there.
As we don’t changed the dashboard or the Outlook version I think there
must be an problem within the dashboard html rendering that changed with
RT 4.0 and break outlook mail display.
The problem occurs with dashboards containing result list, charts and
both of them.

I noticed the following problems with the dashboard html rendering:

  • in share/html/Search/Elements/Chart the href values are not quoted
  • in share/html/Search/Elements/Chart the src value of the img tag isn’t
    fully url escaped (maybe /share/html/Elements/QueryString should return
    an ‘$amp;’ instead of an ‘&’)
  • an closing div is missing but I don’t know where
  • the closing body and html tags are missing within the mail (but they
    where missing in RT 3.8 too and didn’t make any trouble)

I will try to fix some problems to test if this makes Outlook happy
but maybe some out there already know the problem and can help fixing this.

Chris

PS: the dashboard mail looks ok in Thunderbird but force my users to use
Thunderbird isn’t an option for me :wink:

OK found the problem.
Outlook 2003 doesn’t like the ‘overflow: visible’ style on all elements.
This was added with this commit:

Maybe Thomas remembers why the ‘overflow: visible’ was needed because I
removed It and didn’t see any problems in the print layout.
Also the styles added for forms later with this commit are never take
effect as form elements are not displayed within the print layout.

ChrisAm 01.10.2012 14:32, schrieb Christian Loos:

Hi,

I recently upgraded our RT from 3.8.13 to 4.0.7.
After that if I view an dashboard mail in Outlook (2003) there are the
vertical scrollbars missing. If you have many objects within an
dashboard you can’t see anything.
I checked the html source and the content is there.
As we don’t changed the dashboard or the Outlook version I think there
must be an problem within the dashboard html rendering that changed with
RT 4.0 and break outlook mail display.
The problem occurs with dashboards containing result list, charts and
both of them.

I noticed the following problems with the dashboard html rendering:

  • in share/html/Search/Elements/Chart the href values are not quoted
  • in share/html/Search/Elements/Chart the src value of the img tag isn’t
    fully url escaped (maybe /share/html/Elements/QueryString should return
    an ‘$amp;’ instead of an ‘&’)
  • an closing div is missing but I don’t know where
  • the closing body and html tags are missing within the mail (but they
    where missing in RT 3.8 too and didn’t make any trouble)

I will try to fix some problems to test if this makes Outlook happy
but maybe some out there already know the problem and can help fixing this.

Chris

PS: the dashboard mail looks ok in Thunderbird but force my users to use
Thunderbird isn’t an option for me :wink:


Final RT training for 2012 in Atlanta, GA - October 23 & 24
http://bestpractical.com/training

We’re hiring! Careers — Best Practical Solutions

Christian:

I confirmed that ‘overflow: visible’ was also preventing our Lotus Notes
v8.5.3 mailer from scrolling dashboard email.

Thanks very much.
Jim

From:
Christian Loos cloos@netcologne.de
To:
rt-devel@lists.bestpractical.com,
Cc:
trs@bestpractical.com
Date:
10/19/2012 08:36 AM
Subject:
Re: [rt-devel] problem with dashboard mail in outlook after upgrade from
3.8.13 to 4.0.7
Sent by:
rt-devel-bounces@lists.bestpractical.com

OK found the problem.
Outlook 2003 doesn’t like the ‘overflow: visible’ style on all elements.
This was added with this commit:

Maybe Thomas remembers why the ‘overflow: visible’ was needed because I
removed It and didn’t see any problems in the print layout.
Also the styles added for forms later with this commit are never take
effect as form elements are not displayed within the print layout.

Chris

Hi,

I recently upgraded our RT from 3.8.13 to 4.0.7.
After that if I view an dashboard mail in Outlook (2003) there are the
vertical scrollbars missing. If you have many objects within an
dashboard you can’t see anything.
I checked the html source and the content is there.
As we don’t changed the dashboard or the Outlook version I think there
must be an problem within the dashboard html rendering that changed with
RT 4.0 and break outlook mail display.
The problem occurs with dashboards containing result list, charts and
both of them.

I noticed the following problems with the dashboard html rendering:

  • in share/html/Search/Elements/Chart the href values are not quoted
  • in share/html/Search/Elements/Chart the src value of the img tag isn’t
    fully url escaped (maybe /share/html/Elements/QueryString should return
    an ‘$amp;’ instead of an ‘&’)
  • an closing div is missing but I don’t know where
  • the closing body and html tags are missing within the mail (but they
    where missing in RT 3.8 too and didn’t make any trouble)

I will try to fix some problems to test if this makes Outlook happy
but maybe some out there already know the problem and can help fixing
this.

Chris

PS: the dashboard mail looks ok in Thunderbird but force my users to use
Thunderbird isn’t an option for me :wink:


Final RT training for 2012 in Atlanta, GA - October 23 & 24
http://bestpractical.com/training

We’re hiring! Careers — Best Practical Solutions

Final RT training for 2012 in Atlanta, GA - October 23 & 24
http://bestpractical.com/training

We’re hiring! Careers — Best Practical Solutions

I confirmed that ‘overflow: visible’ was also preventing our Lotus Notes v8.5.3 mailer from
scrolling dashboard email.

BTW, this ending up in the bugtracker makes it more likely to be fixed
(things only ever discussed on rt-devel have a habit of disappearing
from view).

-kevin

OK found the problem.
Outlook 2003 doesn’t like the ‘overflow: visible’ style on all elements.
This was added with this commit:
Updates for forms · bestpractical/rt@6290e01 · GitHub

Outlook shouldn’t be using the print styles for screen display.

That’s frustrating. I suspect you could solve your issue by leaving
overflow: visible on all elements and adding this rule:

html, body { overflow: auto !important; }

I’m not sure how I feel about that in the core print styles, since for
printing and really do want to be overflow: visible not
overflow: auto. Scrolling makes no sense in print!

Maybe Thomas remembers why the ‘overflow: visible’ was needed because I
removed It and didn’t see any problems in the print layout.

For any visible element, it’s full content should be visible in print
regardless of it’s bounding box. There are elements in RT this matters
for; I expect you just didn’t test the right pages.

Also the styles added for forms later with this commit are never take
effect as form elements are not displayed within the print layout.

Good catch. I believe the intent was to render some form elements in a
way that displays their content but not render others. When developing
the print stylesheet I often used in browser styles to test out changes,
and I expect the transition to print.css lost the removal of the
display: none; rule for s.

I confirmed that ‘overflow: visible’ was also preventing our Lotus Notes v8.5.3 mailer from
scrolling dashboard email.

BTW, this ending up in the bugtracker makes it more likely to be fixed
(things only ever discussed on rt-devel have a habit of disappearing
from view).

http://issues.bestpractical.com/Ticket/Display.html?id=21268