Bug 1328933 - X-Bugzilla headers shouldn't be visible in HTML emails
Summary: X-Bugzilla headers shouldn't be visible in HTML emails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Email Notifications
Version: 4.4
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: 4.4
Assignee: Jeff Fearn 🐞
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 15:57 UTC by Michal Sekletar
Modified: 2018-12-09 06:29 UTC (History)
3 users (show)

Fixed In Version: 4.4.12051.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-01 04:46:19 UTC


Attachments (Terms of Use)
email displayed by gmail in Firefox (73.66 KB, image/png)
2016-04-20 15:57 UTC, Michal Sekletar
no flags Details
email message from bugzilla (7.58 KB, text/plain)
2016-04-20 15:57 UTC, Michal Sekletar
no flags Details
Test_result_against_build_4.4.12051.1 (4.56 KB, text/plain)
2016-07-15 09:02 UTC, Rony Gong 🔥
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Mozilla Foundation 1035972 0 None None None 2016-04-20 15:57:00 UTC

Description Michal Sekletar 2016-04-20 15:57:01 UTC
Created attachment 1149122 [details]
email displayed by gmail in Firefox

Description of problem:
I've configured in "General Preferences" following,
  * Include X-Bugzilla- headers in BugMail body : On
  * Preferred email format : HTML

I started receiving HTML emails and X-Bugzilla headers are included in the message body, however they are visible. According to upstream commit, they should be hidden, i.e. CSS style used for the paragraph should set font size to 0pt. As this information is not really meant to be read by the end user rather used to provide possibility to effectively filter bugmail using Gmail.


Version-Release number of selected component (if applicable):
Red Hat Bugzilla 4.4

How reproducible:
always

Steps to Reproduce:
1. set Include X-Bugzilla- headers in BugMail body : On
2. set Preferred email format : HTML
3. open new email from bugzilla in Gmail web UI using Firefox / alternatively see screen-shot provided 

Actual results:
X-Bugzilla headers visible


Expected results:
X-Bugzilla headers present in message body but not displayed

Additional info:

Comment 1 Michal Sekletar 2016-04-20 15:57:42 UTC
Created attachment 1149123 [details]
email message from bugzilla

Comment 2 Michal Sekletar 2016-04-20 15:59:28 UTC
upstream commit implementing "Include X-Bugzilla- headers in BugMail body" feature.

https://git.mozilla.org/?p=webtools/bmo/bugzilla.git;a=commitdiff;h=9552ab9

Comment 3 Michal Sekletar 2016-04-27 10:38:45 UTC
Is there any ETA for the fix?

I also think that this bug should have a lot higher priority because if fixed it would solve a big pain point for many people which is effective filtering of bugzilla email in Gmail. This of course applies to both RH internal and community bugzilla users.

Comment 4 Rony Gong 🔥 2016-07-15 09:02:48 UTC
Created attachment 1180073 [details]
Test_result_against_build_4.4.12051.1

It still including the X-bugzilla-headers in the mailbody when:
1. set Include X-Bugzilla- headers in BugMail body : On
2. set Preferred email format : HTML

Please check the attachment.

And it will not including the X-bugzilla-headers in the mailbody and header for html file when:
1. set Include X-Bugzilla- headers in BugMail body : off
2. set Preferred email format : HTML

Comment 5 Jeff Fearn 🐞 2016-07-17 22:00:04 UTC
(In reply to Rony Gong from comment #4)
> Created attachment 1180073 [details]
> Test_result_against_build_4.4.12051.1
> 
> It still including the X-bugzilla-headers in the mailbody when:
> 1. set Include X-Bugzilla- headers in BugMail body : On
> 2. set Preferred email format : HTML
> 
> Please check the attachment.
> 
> And it will not including the X-bugzilla-headers in the mailbody and header
> for html file when:
> 1. set Include X-Bugzilla- headers in BugMail body : off
> 2. set Preferred email format : HTML

This bug isn't to remove them, it's to make them invisible, which is done by setting font size to zero as suggested by the OP.

Comment 6 Rony Gong 🔥 2016-07-18 01:54:56 UTC
@Jeff, thank you. It works well now after let mail send to a mail client.


Note You need to log in before you can comment on or make changes to this bug.