Closed Bug 357278 Opened 18 years ago Closed 17 years ago

BugMail doesn't translate Resolution/Status using field-descs

Categories

(Bugzilla :: Email Notifications, defect)

2.22
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 215210

People

(Reporter: michael.j.tosh, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7

Field names are set in globals/field-descs.none.tmpl AND the FieldDefs table.  Status and Resolution are ONLY set in globals/field-descs.none.tmpl.

If someone can provide a patch, or suggestion on how to modify this, that would be great.  (We are keeping great track of all changes so that we can make similar changes in the newer versions if needed)


Funny Story:
The problem is, we needed a resolution of FAILEDTEST.  We never planned to use WORKSFORME, but we did plan for the rest.  So we changed WORKSFORME to FAILEDTEST in globals/field-descs.none.tmpl.

One of our developers fixed a bug reported by our customer's customer (the end users, we all have access to our bugzilla) and one of our testers failed the bug in the test stage.  It had broken something else.  Our customer then got an email that said "WORKSFORME"!!!!  GAAHHHHHHH!!!  NO!

Needless to say, a quick and dirty fix would be great.

Reproducible: Always

Steps to Reproduce:
1.  Change the resolution_descs for WORKSFORME to FAILEDTEST in globals/field-descs.none.tmpl
2.  Set your mail prefs to receive all mail
3.  Resolve an issue to a custom resolution

Actual Results:  
Got an email with Resolution: WORKSFORME

Expected Results:  
Should have gotten an email with Resolution: FAILEDTEST
Severity: major → normal
OS: Linux → All
Hardware: Other → All
Summary: BugMail.pl should use values from globals/field-descs.none.tmpl (Resolution & Status specifically) → BugMail.pm should use values from globals/field-descs.none.tmpl (Resolution & Status specifically)
Oh, gee. Yeah, if this happens, that's definitely a bug. It would be pretty easy to fix for 3.0. Maybe for 2.22, also.

Note to whoever wants to fix it: For 3.0, you can use get_text in a clever way to get the right thing.
Summary: BugMail.pm should use values from globals/field-descs.none.tmpl (Resolution & Status specifically) → BugMail doesn't translate Resolution/Status using field-descs
Version: unspecified → 2.22
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.