Bug 1257579
Summary: | auto-linking issues | ||
---|---|---|---|
Product: | [Community] Bugzilla | Reporter: | Tomas Hoger <thoger> |
Component: | Bugzilla General | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED NEXTRELEASE | QA Contact: | Jeff Fearn 🐞 <jfearn> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | agk, mtahir, ptoscano, qgong |
Target Milestone: | 5.0 | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 5.0.4.rh1 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-26 03:48:22 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomas Hoger
2015-08-27 11:49:53 UTC
(In reply to Tomas Hoger from comment #0) > Bugzilla code to automatically create links for URLs used in bug comments > does not correctly handle links to itself. Examples: https://bugzilla.redhat.com/show_bug.cgi?id=1257579#c0 https://bugzilla.redhat.com/show_bug.cgi?id=1257579#h0 but this is ok: https://partner-bugzilla.redhat.com/show_bug.cgi?id=1257579#h0 > Somewhat related RFE. Currently, BZ#123 is turned to bug link. Would it be > possible to extend this to cover versions that refer to specific comment or > history item, such as BZ#123#c0 and BZ#123#h0. BZ#1257579 BZ#1257579#c0 BZ#1257579#h0 or maybe even: bug 1257579#c0 in addition to currently supported bug 1257579 comment 0. Is there currently any way to refer to specific history change? Something like bug 1257579 history 0, given that full URL is not turned to link correctly. All of these suggestions appear to be feasible. These should ideally be fixed in the upstream code. Note for this I've added '#c' as a comment marker, I have not added special handling for history items as it's extremely complex to do so. In Bugzilla 5 the full url "https://bugzilla.redhat.com/show_bug.cgi?id=1257579#h0" is linkified properly, as that is a separate feature to the bug_link code. |