bug_tracker::search::patch::url (private)

 bug_tracker::search::patch::url patch_id

Defined in packages/bug-tracker/tcl/bug-search-procs.tcl

returns a URL for a given patch_id

Parameters:
patch_id (required)
Author:
Jeff Davis davis@xarg.net

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.ftscontentprovider.url.bt_patch AcsSc.ftscontentprovider.url.bt_patch (private) bug_tracker::search::patch::url bug_tracker::search::patch::url AcsSc.ftscontentprovider.url.bt_patch->bug_tracker::search::patch::url ad_url ad_url (public) bug_tracker::search::patch::url->ad_url apm_package_url_from_id apm_package_url_from_id (public) bug_tracker::search::patch::url->apm_package_url_from_id db_0or1row db_0or1row (public) bug_tracker::search::patch::url->db_0or1row

Testcases:
No testcase defined.
Source code:
    if {[db_0or1row get {select project_id, patch_number from bt_patches where patch_id = :patch_id}]} {
        return "[ad_url][apm_package_url_from_id $project_id]patch?patch_number=$patch_number"
    } else {
        error "bug_id $bug_id not found"
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: