Closed Bug 399080 Opened 17 years ago Closed 13 years ago

Remove the 'usebugaliases' parameter

Categories

(Bugzilla :: Administration, task)

3.1.2
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 4.4

People

(Reporter: LpSolit, Assigned: selsky)

References

()

Details

Attachments

(1 file, 1 obsolete file)

Per our discussions at our last 2 Bugzilla meetings, this param should go away. It should always be 1.
Whiteboard: [Good Intro Bug]
Assignee: administration → selsky
Status: NEW → ASSIGNED
Attachment #564102 - Flags: review?(LpSolit)
Comment on attachment 564102 [details] [diff] [review]
Remove the usebugaliases parameter and always enable aliases, v1

>=== modified file 'Bugzilla/WebService/Bug.pm'

You must also update the POD in this file and remove the sentence with "Note that it's possible for aliases to be disabled in Bugzilla" as well as update the text for Error 100: "(a) the Bugzilla you're querying doesn't support aliases" is no longer true. There are also some other comments which need to be fixed in the POD of this file. I will let you find and fix them. :)

Also make sure that there is no other references to "alias" in the documentation of our API. The documentation in docs/en/xml/ is fine, though.


I didn't check nor test all places affected by your patch, but everything else looks good so far. :)
Attachment #564102 - Flags: review?(LpSolit) → review-
Whiteboard: [Good Intro Bug]
Target Milestone: --- → Bugzilla 5.0
Bugzilla::WebService::Bug POD updated.
Attachment #564102 - Attachment is obsolete: true
Attachment #577200 - Flags: review?(LpSolit)
Comment on attachment 577200 [details] [diff] [review]
Remove the usebugaliases parameter and always enable aliases, v2

>=== modified file 'template/en/default/pages/quicksearch.html.tmpl'

>-    [%+ IF Param('usebugaliases') %][% field_descs.alias FILTER html %],[% END %]
>+    [% field_descs.alias FILTER html %],

You must write [%+ to add a whitespace before Alias. Please fix that on checkin.


Everything else looks good. Thanks for the patch! :) r=LpSolit
Attachment #577200 - Flags: review?(LpSolit) → review+
Flags: approval+
Keywords: relnote
Committing to: bzr+ssh://lpsolit%40gmail.com@bzr.mozilla.org/bugzilla/trunk/
modified colchange.cgi
modified process_bug.cgi
modified Bugzilla/Bug.pm
modified Bugzilla/Config/BugFields.pm
modified Bugzilla/WebService/Bug.pm
modified template/en/default/admin/params/bugfields.html.tmpl
modified template/en/default/bug/edit.html.tmpl
modified template/en/default/bug/show-multiple.html.tmpl
modified template/en/default/bug/create/create.html.tmpl
modified template/en/default/global/user-error.html.tmpl
modified template/en/default/pages/fields.html.tmpl
modified template/en/default/pages/quicksearch.html.tmpl
modified xt/lib/Bugzilla/Test/Search.pm
Committed revision 8049.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Added to relnotes for 4.4.
Keywords: relnote
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: