Closed Bug 624522 Opened 14 years ago Closed 13 years ago

Allow "See Also" to accept URLs pointing to the sourceforge.net bug tracker

Categories

(Bugzilla :: Creating/Changing Bugs, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
Bugzilla 4.2

People

(Reporter: chkr, Assigned: timello)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.6.13-1.fc13 Firefox/3.6.13
Build Identifier: 3.4.8+, 3.6.3

It is not possible to add sourceforge.net bug tracker URLs to bugzilla bug reports (via "Add Bug URLs").


Reproducible: Always

Steps to Reproduce:
1. try to add an external bug URL via "Add Bug URLs" from sf.net, e.g. https://sourceforge.net/tracker/?func=detail&aid=2284386&group_id=976&atid=100976

Actual Results:  
bugzilla 3.4.8+, as used by bugzilla.gnome.org reports:

"https://sourceforge.net/tracker/?func=detail&aid=2284386&group_id=976&atid=100976 is not a valid URL to a bug. Bug URLs should point to show_bug.cgi in a Bugzilla installation."

According to the bugzilla sources for 3.6.3 sf.net URLs wouldn't be accepted either with this new version.

Expected Results:  
- it should be possible to add external bug tracker URLs to bugzilla bug reports
- since this feature is IMHO explicitely designed to be used with external bug
URLs, bugzilla should make no assumptions about the format of the URL (or at least only few essential ;-) )
Severity: normal → enhancement
OS: Linux → All
Hardware: x86 → All
Summary: sanity check for external bug URLs too restrictive → The "See Also" field doesn't accept URL pointing to the sourceforge.net bug tracker
Whiteboard: [DUPME]
There is another bug where I describe why we validate the URLs, and there are lots of good reasons to do it.

However, we can add SourceForge support. On trunk, it's not even that hard to add new trackers.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Summary: The "See Also" field doesn't accept URL pointing to the sourceforge.net bug tracker → Allow "See Also" to accept URLs pointing to the sourceforge.net bug tracker
Whiteboard: [DUPME]
Assignee: create-and-change → timello
Status: NEW → ASSIGNED
Attached patch v1 (obsolete) — Splinter Review
Attachment #512792 - Flags: review?(mkanat)
Comment on attachment 512792 [details] [diff] [review]
v1

Ah, make sure "func" is actually "detail".
Attachment #512792 - Flags: review?(mkanat) → review-
Attached patch v2Splinter Review
Attachment #512792 - Attachment is obsolete: true
Attachment #512828 - Flags: review?(mkanat)
Comment on attachment 512828 [details] [diff] [review]
v2

Sweet. :-)
Attachment #512828 - Flags: review?(mkanat) → review+
Flags: approval+
Target Milestone: --- → Bugzilla 4.2
Committing to: bzr+ssh://timello%40gmail.com@bzr.mozilla.org/bugzilla/trunk/                                                                                                           
modified Bugzilla/BugUrl.pm
added Bugzilla/BugUrl/SourceForge.pm
modified template/en/default/global/user-error.html.tmpl
Committed revision 7718.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Thanks for implementing the sf.net bug tracker URL support.

What will be the first bugzilla release containing the support?
(In reply to comment #7)
> What will be the first bugzilla release containing the support?

  Hey Christian. You can see that information in the "Target Milestone" field.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: