Bug 502711
Summary: | notifications from catalog is not correct while someone updating the kbase information | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] Red Hat Hardware Certification Program | Reporter: | YangKun <ykun> | ||||
Component: | Hardware Catalog | Assignee: | Mao DengFeng <dmao> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 5.3 | CC: | dmao, rlandry, xisun | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2009-08-27 17:47:40 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
YangKun
2009-05-27 03:24:18 UTC
Tentative "+", if the fix is invasive it'll probably fall off. Root cause: 'show_bug.cgi?id=...' has been hard code in process.cgi like this: ======= code ============= if (!$result) { SendSQL("INSERT INTO ext_bz_bug_map (bug_id, ext_bz_id, ext_bz_bug_id) " . "VALUES ($id, $extid, $extbugid)"); LogActivityEntry($id,"external_bugzilla.url","","$exturl/show_bug.cgi?id=$extbugid_noquote",$whoid,$timestamp); $bug_changed = 1; } ======= code ============== Solution: There is a 'full_url' field in the database 'external_bugzilla'. So we should change the hard codes to the 'full_url' Created attachment 355367 [details]
replace the hard code with full url variable
How does the patch 355367 alter the email? Is it a side effect of the log function? (In reply to comment #5) > How does the patch 355367 alter the email? Is it a side effect of the log > function? Right, the email will send out the difference and the difference are recorded by the log activity. we can look for something about this from approximate line 260 of CATALOG_ROOT/Bugzilla/BugMail.pm Patch has been committed. |