Closed
Bug 631737
Opened 13 years ago
Closed 13 years ago
Add dynamic, auto-populating Bugzilla link from 404 page in Kohana
Categories
(Socorro :: General, task)
Socorro
General
Tracking
(Not tracked)
RESOLVED
FIXED
1.7.7
People
(Reporter: stephend, Assigned: brandon)
References
()
Details
Attachments
(1 file, 1 obsolete file)
855 bytes,
patch
|
rhelmer
:
review+
|
Details | Diff | Splinter Review |
The link to auto-populate a few Bugzilla fields from bug 630557 could also pre-populate the URL field, if you just tack on the current page as a param, like so: &bug_file_loc=http%3A%2F%2Fsome_url Full URL would be: https://bugzilla.mozilla.org/enter_bug.cgi?product=Webtools&component=Socorro&bug_file_loc=someurl (This is assuming you can get some_url (the current page, which is 404'ing) from Kohana, which I think is possible.)
Assignee | ||
Comment 1•13 years ago
|
||
Grabbing the script URI as a second argument for Bugzilla.
Attachment #526810 -
Flags: review?(rhelmer)
Assignee | ||
Comment 2•13 years ago
|
||
The first patch was too expansive for this specific bug.
Attachment #526810 -
Attachment is obsolete: true
Attachment #526812 -
Flags: review?(rhelmer)
Attachment #526810 -
Flags: review?(rhelmer)
Reporter | ||
Updated•13 years ago
|
Assignee: nobody → bsavage
Updated•13 years ago
|
Attachment #526812 -
Flags: review?(rhelmer) → review+
Assignee | ||
Comment 3•13 years ago
|
||
Fixed in revision 3063 with the patch approved.
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → 1.7.7
Reporter | ||
Comment 4•13 years ago
|
||
Verified FIXED on https://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13prefoo: [08:42:53.000] GET https://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13prefoo [HTTP/1.1 404 File Not Found 73ms] -- [08:43:07.035] GET https://bugzilla.mozilla.org/enter_bug.cgi?product=Webtools&component=Socorro&bug_file_loc=http%3A%2F%2Fcrash-stats.stage.mozilla.com%2Ftopcrasher%2Fbyversion%2FFirefox%2F4.0b13prefoo [HTTP/1.1 200 OK 820ms] resulting field in Bugzilla was "http://crash-stats.stage.mozilla.com/topcrasher/byversion/Firefox/4.0b13prefoo".
Status: RESOLVED → VERIFIED
Flags: in-testsuite?
Flags: in-litmus?
Comment 5•13 years ago
|
||
Reopening this because the bugzilla url parameter does not contain HTTPS which is the standard protocol for Socorro. Actual: bug_file_loc=http://crash-stats-dev.allizom.org/invaliddomain Expected: bug_file_loc=https://crash-stats-dev.allizom.org/invaliddomain
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Updated•13 years ago
|
Component: Socorro → General
Product: Webtools → Socorro
Assignee | ||
Comment 6•13 years ago
|
||
This is using the built in server-generated URL. Since Apache will automatically redirect a user to HTTPS if necessary, this doesn't present a security problem. Since this bug has already been released, I'm closing as resolved-fixed but the person who reopened it should feel free to file a new bug if they feel there is still merit to this issue.
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•