bug_tracker::set_project_name (public)

 bug_tracker::set_project_name [ -package_id package_id ] project_name

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

Switches:
-package_id (optional)
Parameters:
project_name (required)

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bug-tracker/www/admin/project-edit.tcl packages/bug-tracker/ www/admin/project-edit.tcl bug_tracker::set_project_name bug_tracker::set_project_name packages/bug-tracker/www/admin/project-edit.tcl->bug_tracker::set_project_name ad_conn ad_conn (public) bug_tracker::set_project_name->ad_conn db_dml db_dml (public) bug_tracker::set_project_name->db_dml util_memoize_flush util_memoize_flush (public) bug_tracker::set_project_name->util_memoize_flush

Testcases:
No testcase defined.
Source code:
    if { $package_id eq "" } {
        set package_id [ad_conn package_id]
    }

    db_dml project_name_update {}

    # Flush cache
    util_memoize_flush [list bug_tracker::get_project_info_internal $package_id]]
Generic XQL file:
<fullquery name="bug_tracker::set_project_name.project_name_update">
    <querytext>
      
        update apm_packages
        set    instance_name = :project_name
        where  package_id = :package_id
    
      </querytext>
</fullquery>
packages/bug-tracker/tcl/bug-tracker-procs.xql

PostgreSQL XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-postgresql.xql

Oracle XQL file:
packages/bug-tracker/tcl/bug-tracker-procs-oracle.xql

[ hide source ] | [ make this the default ]
Show another procedure: