Closed Bug 292372 Opened 20 years ago Closed 20 years ago

Autolinkification of bug number in comments doesn't follow change to [% terms.bug %]

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

Other
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 289618

People

(Reporter: stev3zilla, Unassigned)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Bugzilla 2.18

When the value of [% terms.bug %] is changed to something other than "bug"
(e.g.: "issue"), comment references to other "issues" don't get autolinkified.

Reproducible: Always

Steps to Reproduce:
1. Edit global/variables.none.tmpl, making the following change:

  -   "bug" => "bug",
  +   "bug" => "issue",

2.  Add a comment like the following to an existing bug:

  Testing...
  bug 256113
  bug #256113
  issue 256113
  issue #256113

(Note: bug 256113 isn't relevant here-- just an example.)


Actual Results:  
The "bug" references still get autolinkified in the comments, while the "issue"
references do not.

Expected Results:  
It should have autolinkified the "issue" references.  (Don't care what it does
with the "bug" references.)

Tested using a clean installation of Bugzilla 2.18 on Solaris 9.

I would have selected a severity of "Minor-- easy workaround"... but try telling
users to refer to their support requests as "bugs" in their comments.  (My
current workaround is not telling my users about autolinkification, so I guess
you could say that's easy. :)
The workaround is actually to change the code in globals.pl in addition to the
words in the variables template. A comment was added as part of bug 289618 which
will be included in both 2.18.1 and 2.20.

*** This bug has been marked as a duplicate of 289618 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.