Closed Bug 226932 Opened 22 years ago Closed 22 years ago

flag request email sends ' ' in subject

Categories

(Bugzilla :: Email Notifications, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: sreindl, Assigned: sreindl)

Details

Attachments

(1 file)

User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0; T312461) Build Identifier: If you change a flag, the Subject line looks like '[Bug XXX]....' The &nbsp should not be there Reproducible: Always Steps to Reproduce: 1. Open an Issue 2. apply a flag 3. wait for the flag update confirmation message Actual Results: There are ' ' entities in the mail subject AND the text. Expected Results: Use single spaces only
Related to bug 226527.
The attached patch replaces the ' ' with template logic (i.e. put a plus at the beginning of the template: [%+ keeps blanks on the left)
Gerv, you added these  s to the email templates (I've seen them in others) -- was this done intentionally, or did it end up sneaking into the big sweep you did over at bug 13540?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 136418 [details] [diff] [review] Use template logic instead of ' ' to provide spaces Thanks for the patch. For reference, it would be best if you provided unified diffs (diff -urNp work nicely for me) as they are standard on the Mozilla project.
Attachment #136418 - Flags: review+
Flags: approval?
Just FYI, this patch will conflict with the patch for bug 84876. Ironically, this patch touches code that is (right now) the last holdup for 84876 because... I can't nail Myk down for the hours it will take to fix it.
Err... *two* hours it *would* take to fix it.
Yeah, must have been a mistake... Gerv
Do you have something you'd like to say, Gerv?
-> patch author
Assignee: preed → sr
Severity: normal → trivial
Flags: approval? → approval+
Target Milestone: --- → Bugzilla 2.18
J.P.: Yes. I obviously didn't review jwilmoth@starbucks.com's patch for bug 13540 carefully enough :-) Gerv
Gone into the great melting pot: /cvsroot/mozilla/webtools/bugzilla/template/en/default/request/email.txt.tmpl,v <-- email.txt.tmpl new revision: 1.4; previous revision: 1.3 Thanks, Stephen.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: