bug-procs.tcl

Bug Tracker Bug Library Procedures that deal with a single bug

Location:
packages/bug-tracker/tcl/bug-procs.tcl
Created:
2003-01-10
Author:
Lars Pind
CVS Identification:
$Id$

Procedures in this file

Detailed information

bug_tracker::bug::cache_flush (public)

 bug_tracker::bug::cache_flush -bug_id bug_id

Flush all list builder instances and other appropriate things for the given bug-tracker package instance.

Switches:
-bug_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::delete bug_tracker::bug::delete (public) bug_tracker::bug::cache_flush bug_tracker::bug::cache_flush bug_tracker::bug::delete->bug_tracker::bug::cache_flush bug_tracker::bug::insert bug_tracker::bug::insert (public) bug_tracker::bug::insert->bug_tracker::bug::cache_flush bug_tracker::bug::update bug_tracker::bug::update (public) bug_tracker::bug::update->bug_tracker::bug::cache_flush db_string db_string (public) bug_tracker::bug::cache_flush->db_string template::cache template::cache (public) bug_tracker::bug::cache_flush->template::cache util_memoize_flush_regexp util_memoize_flush_regexp (public) bug_tracker::bug::cache_flush->util_memoize_flush_regexp

Testcases:
No testcase defined.

bug_tracker::bug::capture_resolution_code::do_side_effect (private)

 bug_tracker::bug::capture_resolution_code::do_side_effect case_id \
    object_id action_id entry_id
Parameters:
case_id (required)
object_id (required)
action_id (required)
entry_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_action_sideeffect.dosideeffect.captureresolutioncode AcsSc.workflow_action_sideeffect.dosideeffect.captureresolutioncode (private) bug_tracker::bug::capture_resolution_code::do_side_effect bug_tracker::bug::capture_resolution_code::do_side_effect AcsSc.workflow_action_sideeffect.dosideeffect.captureresolutioncode->bug_tracker::bug::capture_resolution_code::do_side_effect db_string db_string (public) bug_tracker::bug::capture_resolution_code::do_side_effect->db_string workflow::case::add_log_data workflow::case::add_log_data (public) bug_tracker::bug::capture_resolution_code::do_side_effect->workflow::case::add_log_data

Testcases:
No testcase defined.

bug_tracker::bug::capture_resolution_code::pretty_name (private)

 bug_tracker::bug::capture_resolution_code::pretty_name

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_action_sideeffect.getprettyname.captureresolutioncode AcsSc.workflow_action_sideeffect.getprettyname.captureresolutioncode (private) bug_tracker::bug::capture_resolution_code::pretty_name bug_tracker::bug::capture_resolution_code::pretty_name AcsSc.workflow_action_sideeffect.getprettyname.captureresolutioncode->bug_tracker::bug::capture_resolution_code::pretty_name _ _ (public) bug_tracker::bug::capture_resolution_code::pretty_name->_

Testcases:
No testcase defined.

bug_tracker::bug::delete (public)

 bug_tracker::bug::delete bug_id

Delete a Bug Tracker bug. This should only ever be run when un-instantiating a project!

Parameters:
bug_id (required)
Author:
Mark Aufflick

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::project_delete bug_tracker::project_delete (public) bug_tracker::bug::delete bug_tracker::bug::delete bug_tracker::project_delete->bug_tracker::bug::delete bug_tracker::bug::cache_flush bug_tracker::bug::cache_flush (public) bug_tracker::bug::delete->bug_tracker::bug::cache_flush content::item::delete content::item::delete (public) bug_tracker::bug::delete->content::item::delete db_exec_plsql db_exec_plsql (public) bug_tracker::bug::delete->db_exec_plsql db_string db_string (public) bug_tracker::bug::delete->db_string

Testcases:
No testcase defined.

bug_tracker::bug::edit (public)

 bug_tracker::bug::edit -bug_id bug_id \
    -enabled_action_id enabled_action_id [ -user_id user_id ] \
    [ -creation_ip creation_ip ] -description description \
    -desc_format desc_format -array array [ -entry_id entry_id ]

Edit a bug, then send out notifications, etc. Calls bug_tracker::bug::update.

Switches:
-bug_id (required)
-enabled_action_id (required)
-user_id (optional)
-creation_ip (optional)
-description (required)
-desc_format (required)
-array (required)
-entry_id (optional)
Returns:
bug_id The same bug_id passed in, just for convenience.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::workflow_create bug_tracker::bug::workflow_create (private) bug_tracker::bug::edit bug_tracker::bug::edit bug_tracker::bug::workflow_create->bug_tracker::bug::edit bug_tracker::scheduled::close_bugs bug_tracker::scheduled::close_bugs (public) bug_tracker::scheduled::close_bugs->bug_tracker::bug::edit packages/acs-tcl/lib/page-error.tcl packages/acs-tcl/ lib/page-error.tcl packages/acs-tcl/lib/page-error.tcl->bug_tracker::bug::edit packages/bug-tracker/www/bug.tcl packages/bug-tracker/ www/bug.tcl packages/bug-tracker/www/bug.tcl->bug_tracker::bug::edit packages/bug-tracker/www/bulk-update-op.tcl packages/bug-tracker/ www/bulk-update-op.tcl packages/bug-tracker/www/bulk-update-op.tcl->bug_tracker::bug::edit bug_tracker::bug::workflow_short_name bug_tracker::bug::workflow_short_name (public) bug_tracker::bug::edit->bug_tracker::bug::workflow_short_name bug_tracker::category_types bug_tracker::category_types (public) bug_tracker::bug::edit->bug_tracker::category_types content::keyword::item_assign content::keyword::item_assign (public) bug_tracker::bug::edit->content::keyword::item_assign db_transaction db_transaction (public) bug_tracker::bug::edit->db_transaction workflow::case::action::execute workflow::case::action::execute (public) bug_tracker::bug::edit->workflow::case::action::execute

Testcases:
No testcase defined.

bug_tracker::bug::format_log_title::format_log_title (private)

 bug_tracker::bug::format_log_title::format_log_title case_id object_id \
    action_id entry_id data_arraylist
Parameters:
case_id (required)
object_id (required)
action_id (required)
entry_id (required)
data_arraylist (required)

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_activitylog_formattitle.gettitle.formatlogtitle AcsSc.workflow_activitylog_formattitle.gettitle.formatlogtitle (private) bug_tracker::bug::format_log_title::format_log_title bug_tracker::bug::format_log_title::format_log_title AcsSc.workflow_activitylog_formattitle.gettitle.formatlogtitle->bug_tracker::bug::format_log_title::format_log_title bug_tracker::resolution_pretty bug_tracker::resolution_pretty (public) bug_tracker::bug::format_log_title::format_log_title->bug_tracker::resolution_pretty

Testcases:
No testcase defined.

bug_tracker::bug::format_log_title::pretty_name (private)

 bug_tracker::bug::format_log_title::pretty_name

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_activitylog_formattitle.getprettyname.formatlogtitle AcsSc.workflow_activitylog_formattitle.getprettyname.formatlogtitle (private) bug_tracker::bug::format_log_title::pretty_name bug_tracker::bug::format_log_title::pretty_name AcsSc.workflow_activitylog_formattitle.getprettyname.formatlogtitle->bug_tracker::bug::format_log_title::pretty_name _ _ (public) bug_tracker::bug::format_log_title::pretty_name->_

Testcases:
No testcase defined.

bug_tracker::bug::get (public)

 bug_tracker::bug::get -bug_id bug_id -array array \
    [ -enabled_action_id enabled_action_id ]

Get the fields for a bug

Switches:
-bug_id (required)
-array (required)
-enabled_action_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::notification_info::get_notification_info bug_tracker::bug::notification_info::get_notification_info (private) bug_tracker::bug::get bug_tracker::bug::get bug_tracker::bug::notification_info::get_notification_info->bug_tracker::bug::get bug_tracker::bug::update bug_tracker::bug::update (public) bug_tracker::bug::update->bug_tracker::bug::get bug_tracker::search::bug::datasource bug_tracker::search::bug::datasource (private) bug_tracker::search::bug::datasource->bug_tracker::bug::get bug_tracker::security_violation bug_tracker::security_violation (public) bug_tracker::security_violation->bug_tracker::bug::get packages/acs-tcl/lib/page-error.tcl packages/acs-tcl/ lib/page-error.tcl packages/acs-tcl/lib/page-error.tcl->bug_tracker::bug::get bug_tracker::bug::workflow_short_name bug_tracker::bug::workflow_short_name (public) bug_tracker::bug::get->bug_tracker::bug::workflow_short_name bug_tracker::component_get_name bug_tracker::component_get_name (public) bug_tracker::bug::get->bug_tracker::component_get_name bug_tracker::resolution_pretty bug_tracker::resolution_pretty (public) bug_tracker::bug::get->bug_tracker::resolution_pretty bug_tracker::version_get_name bug_tracker::version_get_name (public) bug_tracker::bug::get->bug_tracker::version_get_name db_1row db_1row (public) bug_tracker::bug::get->db_1row

Testcases:
No testcase defined.

bug_tracker::bug::get_bug_numbers (public)

 bug_tracker::bug::get_bug_numbers

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bug-tracker/www/bug.tcl packages/bug-tracker/ www/bug.tcl bug_tracker::bug::get_bug_numbers bug_tracker::bug::get_bug_numbers packages/bug-tracker/www/bug.tcl->bug_tracker::bug::get_bug_numbers bug_tracker::bug::get_list bug_tracker::bug::get_list (public) bug_tracker::bug::get_bug_numbers->bug_tracker::bug::get_list bug_tracker::bug::get_multirow bug_tracker::bug::get_multirow (public) bug_tracker::bug::get_bug_numbers->bug_tracker::bug::get_multirow template::multirow template::multirow (public) bug_tracker::bug::get_bug_numbers->template::multirow

Testcases:
No testcase defined.

bug_tracker::bug::get_component_maintainer::get_assignees (private)

 bug_tracker::bug::get_component_maintainer::get_assignees case_id \
    object_id role_id
Parameters:
case_id (required)
object_id (required)
role_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_role_defaultassignees.getassignees.componentmaintainer AcsSc.workflow_role_defaultassignees.getassignees.componentmaintainer (private) bug_tracker::bug::get_component_maintainer::get_assignees bug_tracker::bug::get_component_maintainer::get_assignees AcsSc.workflow_role_defaultassignees.getassignees.componentmaintainer->bug_tracker::bug::get_component_maintainer::get_assignees db_string db_string (public) bug_tracker::bug::get_component_maintainer::get_assignees->db_string

Testcases:
No testcase defined.

bug_tracker::bug::get_component_maintainer::pretty_name (private)

 bug_tracker::bug::get_component_maintainer::pretty_name

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_role_defaultassignees.getprettyname.componentmaintainer AcsSc.workflow_role_defaultassignees.getprettyname.componentmaintainer (private) bug_tracker::bug::get_component_maintainer::pretty_name bug_tracker::bug::get_component_maintainer::pretty_name AcsSc.workflow_role_defaultassignees.getprettyname.componentmaintainer->bug_tracker::bug::get_component_maintainer::pretty_name _ _ (public) bug_tracker::bug::get_component_maintainer::pretty_name->_

Testcases:
No testcase defined.

bug_tracker::bug::get_instance_workflow_id (public)

 bug_tracker::bug::get_instance_workflow_id [ -package_id package_id ]

Return the workflow_id for the package (not instance) workflow

Switches:
-package_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get_list bug_tracker::bug::get_list (public) bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_list->bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_multirow bug_tracker::bug::get_multirow (public) bug_tracker::bug::get_multirow->bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::instance_workflow_delete bug_tracker::bug::instance_workflow_delete (private) bug_tracker::bug::instance_workflow_delete->bug_tracker::bug::get_instance_workflow_id bug_tracker::get_export_variables bug_tracker::get_export_variables (public) bug_tracker::get_export_variables->bug_tracker::bug::get_instance_workflow_id bug_tracker::get_mapped_bugs bug_tracker::get_mapped_bugs (public) bug_tracker::get_mapped_bugs->bug_tracker::bug::get_instance_workflow_id ad_conn ad_conn (public) bug_tracker::bug::get_instance_workflow_id->ad_conn db_string db_string (public) bug_tracker::bug::get_instance_workflow_id->db_string

Testcases:
No testcase defined.

bug_tracker::bug::get_list (public)

 bug_tracker::bug::get_list [ -ulevel ulevel ] \
    [ -package_id package_id ] [ -user_id user_id ] \
    [ -no_bulk_actions ]
Switches:
-ulevel (optional, defaults to "1")
-package_id (optional)
-user_id (optional)
-no_bulk_actions (optional, boolean)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get_bug_numbers bug_tracker::bug::get_bug_numbers (public) bug_tracker::bug::get_list bug_tracker::bug::get_list bug_tracker::bug::get_bug_numbers->bug_tracker::bug::get_list packages/bug-tracker/www/core.tcl packages/bug-tracker/ www/core.tcl packages/bug-tracker/www/core.tcl->bug_tracker::bug::get_list packages/bug-tracker/www/index.tcl packages/bug-tracker/ www/index.tcl packages/bug-tracker/www/index.tcl->bug_tracker::bug::get_list _ _ (public) bug_tracker::bug::get_list->_ ad_conn ad_conn (public) bug_tracker::bug::get_list->ad_conn ad_return_url ad_return_url (public) bug_tracker::bug::get_list->ad_return_url bug_tracker::assignee_get_filter_data bug_tracker::assignee_get_filter_data (public) bug_tracker::bug::get_list->bug_tracker::assignee_get_filter_data bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_instance_workflow_id (public) bug_tracker::bug::get_list->bug_tracker::bug::get_instance_workflow_id

Testcases:
No testcase defined.

bug_tracker::bug::get_multirow (public)

 bug_tracker::bug::get_multirow [ -package_id package_id ] \
    [ -user_id user_id ] [ -truncate_len truncate_len ] \
    [ -query_name query_name ]
Switches:
-package_id (optional)
-user_id (optional)
-truncate_len (optional)
-query_name (optional, defaults to "bugs")

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get_bug_numbers bug_tracker::bug::get_bug_numbers (public) bug_tracker::bug::get_multirow bug_tracker::bug::get_multirow bug_tracker::bug::get_bug_numbers->bug_tracker::bug::get_multirow packages/bug-tracker/www/core.tcl packages/bug-tracker/ www/core.tcl packages/bug-tracker/www/core.tcl->bug_tracker::bug::get_multirow packages/bug-tracker/www/index.tcl packages/bug-tracker/ www/index.tcl packages/bug-tracker/www/index.tcl->bug_tracker::bug::get_multirow acs_community_member_url acs_community_member_url (public) bug_tracker::bug::get_multirow->acs_community_member_url ad_conn ad_conn (public) bug_tracker::bug::get_multirow->ad_conn ad_string_truncate ad_string_truncate (public) bug_tracker::bug::get_multirow->ad_string_truncate bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_instance_workflow_id (public) bug_tracker::bug::get_multirow->bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_query bug_tracker::bug::get_query (public) bug_tracker::bug::get_multirow->bug_tracker::bug::get_query

Testcases:
No testcase defined.

bug_tracker::bug::get_package_workflow_id (public)

 bug_tracker::bug::get_package_workflow_id

Return the workflow_id for the package (not instance) workflow

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::instance_workflow_create bug_tracker::bug::instance_workflow_create (private) bug_tracker::bug::get_package_workflow_id bug_tracker::bug::get_package_workflow_id bug_tracker::bug::instance_workflow_create->bug_tracker::bug::get_package_workflow_id bug_tracker::bug::workflow_delete bug_tracker::bug::workflow_delete (private) bug_tracker::bug::workflow_delete->bug_tracker::bug::get_package_workflow_id bug_tracker::bug::workflow_short_name bug_tracker::bug::workflow_short_name (public) bug_tracker::bug::get_package_workflow_id->bug_tracker::bug::workflow_short_name workflow::get_id workflow::get_id (public) bug_tracker::bug::get_package_workflow_id->workflow::get_id

Testcases:
No testcase defined.

bug_tracker::bug::get_project_maintainer::get_assignees (private)

 bug_tracker::bug::get_project_maintainer::get_assignees case_id \
    object_id role_id
Parameters:
case_id (required)
object_id (required)
role_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_role_defaultassignees.getassignees.projectmaintainer AcsSc.workflow_role_defaultassignees.getassignees.projectmaintainer (private) bug_tracker::bug::get_project_maintainer::get_assignees bug_tracker::bug::get_project_maintainer::get_assignees AcsSc.workflow_role_defaultassignees.getassignees.projectmaintainer->bug_tracker::bug::get_project_maintainer::get_assignees db_string db_string (public) bug_tracker::bug::get_project_maintainer::get_assignees->db_string

Testcases:
No testcase defined.

bug_tracker::bug::get_project_maintainer::pretty_name (private)

 bug_tracker::bug::get_project_maintainer::pretty_name

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_role_defaultassignees.getprettyname.projectmaintainer AcsSc.workflow_role_defaultassignees.getprettyname.projectmaintainer (private) bug_tracker::bug::get_project_maintainer::pretty_name bug_tracker::bug::get_project_maintainer::pretty_name AcsSc.workflow_role_defaultassignees.getprettyname.projectmaintainer->bug_tracker::bug::get_project_maintainer::pretty_name _ _ (public) bug_tracker::bug::get_project_maintainer::pretty_name->_

Testcases:
No testcase defined.

bug_tracker::bug::get_query (public)

 bug_tracker::bug::get_query [ -query_name query_name ]
Switches:
-query_name (optional, defaults to "bugs")
Returns:
The query

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::get_list bug_tracker::bug::get_list (public) bug_tracker::bug::get_query bug_tracker::bug::get_query bug_tracker::bug::get_list->bug_tracker::bug::get_query bug_tracker::bug::get_multirow bug_tracker::bug::get_multirow (public) bug_tracker::bug::get_multirow->bug_tracker::bug::get_query ad_conn ad_conn (public) bug_tracker::bug::get_query->ad_conn db_map db_map (public) bug_tracker::bug::get_query->db_map template::adp_level template::adp_level (public) bug_tracker::bug::get_query->template::adp_level

Testcases:
No testcase defined.

bug_tracker::bug::get_watch_link (public)

 bug_tracker::bug::get_watch_link -bug_id bug_id

Get link for watching a bug.

Switches:
-bug_id (required)
Returns:
3-tuple of url, label and title.

Partial Call Graph (max 5 caller/called nodes):
%3 packages/bug-tracker/www/bug.tcl packages/bug-tracker/ www/bug.tcl bug_tracker::bug::get_watch_link bug_tracker::bug::get_watch_link packages/bug-tracker/www/bug.tcl->bug_tracker::bug::get_watch_link _ _ (public) bug_tracker::bug::get_watch_link->_ ad_conn ad_conn (public) bug_tracker::bug::get_watch_link->ad_conn ad_return_url ad_return_url (public) bug_tracker::bug::get_watch_link->ad_return_url bug_tracker::conn bug_tracker::conn (public) bug_tracker::bug::get_watch_link->bug_tracker::conn notification::display::subscribe_url notification::display::subscribe_url (public) bug_tracker::bug::get_watch_link->notification::display::subscribe_url

Testcases:
No testcase defined.

bug_tracker::bug::insert (public)

 bug_tracker::bug::insert -bug_id bug_id -package_id package_id \
    -component_id component_id -found_in_version found_in_version \
    -summary summary -description description -desc_format desc_format \
    [ -user_agent user_agent ] [ -user_id user_id ] \
    [ -ip_address ip_address ] [ -item_subtype item_subtype ] \
    [ -content_type content_type ] \
    [ -fix_for_version fix_for_version ] [ -assign_to assign_to ]

Inserts a new bug into the content repository. You probably don't want to run this yourself - to create a new bug, use bug_tracker::bug::new and let it do the hard work for you.

Switches:
-bug_id (required)
-package_id (required)
-component_id (required)
-found_in_version (required)
-summary (required)
-description (required)
-desc_format (required)
-user_agent (optional)
-user_id (optional)
-ip_address (optional)
-item_subtype (optional, defaults to "bt_bug")
-content_type (optional, defaults to "bt_bug_revision")
-fix_for_version (optional)
-assign_to (optional)
Returns:
bug_id The same bug_id passed in, just for convenience.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::new bug_tracker::bug::new (public) bug_tracker::bug::insert bug_tracker::bug::insert bug_tracker::bug::new->bug_tracker::bug::insert ad_conn ad_conn (public) bug_tracker::bug::insert->ad_conn bug_tracker::bug::cache_flush bug_tracker::bug::cache_flush (public) bug_tracker::bug::insert->bug_tracker::bug::cache_flush db_string db_string (public) bug_tracker::bug::insert->db_string oacs_util::vars_to_ns_set oacs_util::vars_to_ns_set (public, deprecated) bug_tracker::bug::insert->oacs_util::vars_to_ns_set package_instantiate_object package_instantiate_object (public) bug_tracker::bug::insert->package_instantiate_object

Testcases:
No testcase defined.

bug_tracker::bug::instance_workflow_create (private)

 bug_tracker::bug::instance_workflow_create -package_id package_id \
    [ -workflow_id workflow_id ]

Creates a clone of the given workflow for a specific package instance, or reassign an existing clone if it already exists.

Switches:
-package_id (required)
-workflow_id (optional)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::install::package_instantiate bug_tracker::install::package_instantiate (private) bug_tracker::bug::instance_workflow_create bug_tracker::bug::instance_workflow_create bug_tracker::install::package_instantiate->bug_tracker::bug::instance_workflow_create bug_tracker::install::package_upgrade bug_tracker::install::package_upgrade (private) bug_tracker::install::package_upgrade->bug_tracker::bug::instance_workflow_create bug_tracker::bug::get_package_workflow_id bug_tracker::bug::get_package_workflow_id (public) bug_tracker::bug::instance_workflow_create->bug_tracker::bug::get_package_workflow_id db_0or1row db_0or1row (public) bug_tracker::bug::instance_workflow_create->db_0or1row db_dml db_dml (public) bug_tracker::bug::instance_workflow_create->db_dml workflow::fsm::clone workflow::fsm::clone (public) bug_tracker::bug::instance_workflow_create->workflow::fsm::clone

Testcases:
No testcase defined.

bug_tracker::bug::instance_workflow_delete (private)

 bug_tracker::bug::instance_workflow_delete -package_id package_id

Deletes the instance workflow

Switches:
-package_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::install::package_uninstantiate bug_tracker::install::package_uninstantiate (private) bug_tracker::bug::instance_workflow_delete bug_tracker::bug::instance_workflow_delete bug_tracker::install::package_uninstantiate->bug_tracker::bug::instance_workflow_delete bug_tracker::bug::get_instance_workflow_id bug_tracker::bug::get_instance_workflow_id (public) bug_tracker::bug::instance_workflow_delete->bug_tracker::bug::get_instance_workflow_id db_dml db_dml (public) bug_tracker::bug::instance_workflow_delete->db_dml workflow::delete workflow::delete (public) bug_tracker::bug::instance_workflow_delete->workflow::delete

Testcases:
No testcase defined.

bug_tracker::bug::new (public)

 bug_tracker::bug::new -bug_id bug_id -package_id package_id \
    -component_id component_id -found_in_version found_in_version \
    -summary summary -description description -desc_format desc_format \
    [ -user_agent user_agent ] [ -user_id user_id ] \
    [ -ip_address ip_address ] [ -item_subtype item_subtype ] \
    [ -content_type content_type ] [ -keyword_ids keyword_ids ] \
    [ -fix_for_version fix_for_version ] [ -assign_to assign_to ]

Create a new bug, then send out notifications, starts workflow, etc. Calls bug_tracker::bug::insert.

Switches:
-bug_id (required)
-package_id (required)
-component_id (required)
-found_in_version (required)
-summary (required)
-description (required)
-desc_format (required)
-user_agent (optional)
-user_id (optional)
-ip_address (optional)
-item_subtype (optional, defaults to "bt_bug")
-content_type (optional, defaults to "bt_bug_revision")
-keyword_ids (optional)
-fix_for_version (optional)
-assign_to (optional)
Returns:
bug_id The same bug_id passed in, just for convenience.
See Also:
  • bug_tracker::bug::insert.

Partial Call Graph (max 5 caller/called nodes):
%3 callback::acs_mail_lite::incoming_email::impl::bug-tracker callback::acs_mail_lite::incoming_email::impl::bug-tracker (private) bug_tracker::bug::new bug_tracker::bug::new callback::acs_mail_lite::incoming_email::impl::bug-tracker->bug_tracker::bug::new packages/acs-tcl/lib/page-error.tcl packages/acs-tcl/ lib/page-error.tcl packages/acs-tcl/lib/page-error.tcl->bug_tracker::bug::new packages/bug-tracker/www/bug-add.tcl packages/bug-tracker/ www/bug-add.tcl packages/bug-tracker/www/bug-add.tcl->bug_tracker::bug::new bug_tracker::access_policy bug_tracker::access_policy (public) bug_tracker::bug::new->bug_tracker::access_policy bug_tracker::bug::insert bug_tracker::bug::insert (public) bug_tracker::bug::new->bug_tracker::bug::insert bug_tracker::bug::workflow_short_name bug_tracker::bug::workflow_short_name (public) bug_tracker::bug::new->bug_tracker::bug::workflow_short_name bug_tracker::grant_direct_read_permission bug_tracker::grant_direct_read_permission (private) bug_tracker::bug::new->bug_tracker::grant_direct_read_permission content::keyword::item_assign content::keyword::item_assign (public) bug_tracker::bug::new->content::keyword::item_assign

Testcases:
No testcase defined.

bug_tracker::bug::notification_info::get_notification_info (private)

 bug_tracker::bug::notification_info::get_notification_info case_id \
    object_id
Parameters:
case_id (required)
object_id (required)

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_notificationinfo.getnotificationinfo.bugnotificationinfo AcsSc.workflow_notificationinfo.getnotificationinfo.bugnotificationinfo (private) bug_tracker::bug::notification_info::get_notification_info bug_tracker::bug::notification_info::get_notification_info AcsSc.workflow_notificationinfo.getnotificationinfo.bugnotificationinfo->bug_tracker::bug::notification_info::get_notification_info _ _ (public) bug_tracker::bug::notification_info::get_notification_info->_ ad_decode ad_decode (public) bug_tracker::bug::notification_info::get_notification_info->ad_decode ad_url ad_url (public) bug_tracker::bug::notification_info::get_notification_info->ad_url apm_package_url_from_id apm_package_url_from_id (public) bug_tracker::bug::notification_info::get_notification_info->apm_package_url_from_id bug_tracker::bug::get bug_tracker::bug::get (public) bug_tracker::bug::notification_info::get_notification_info->bug_tracker::bug::get

Testcases:
No testcase defined.

bug_tracker::bug::notification_info::pretty_name (private)

 bug_tracker::bug::notification_info::pretty_name

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_notificationinfo.getprettyname.bugnotificationinfo AcsSc.workflow_notificationinfo.getprettyname.bugnotificationinfo (private) bug_tracker::bug::notification_info::pretty_name bug_tracker::bug::notification_info::pretty_name AcsSc.workflow_notificationinfo.getprettyname.bugnotificationinfo->bug_tracker::bug::notification_info::pretty_name _ _ (public) bug_tracker::bug::notification_info::pretty_name->_

Testcases:
No testcase defined.

bug_tracker::bug::object_type (public)

 bug_tracker::bug::object_type

Get the short name of the workflow for bugs

Partial Call Graph (max 5 caller/called nodes):
%3 AcsSc.workflow_action_sideeffect.getobjecttype.captureresolutioncode AcsSc.workflow_action_sideeffect.getobjecttype.captureresolutioncode (private) bug_tracker::bug::object_type bug_tracker::bug::object_type AcsSc.workflow_action_sideeffect.getobjecttype.captureresolutioncode->bug_tracker::bug::object_type AcsSc.workflow_activitylog_formattitle.getobjecttype.formatlogtitle AcsSc.workflow_activitylog_formattitle.getobjecttype.formatlogtitle (private) AcsSc.workflow_activitylog_formattitle.getobjecttype.formatlogtitle->bug_tracker::bug::object_type AcsSc.workflow_notificationinfo.getobjecttype.bugnotificationinfo AcsSc.workflow_notificationinfo.getobjecttype.bugnotificationinfo (private) AcsSc.workflow_notificationinfo.getobjecttype.bugnotificationinfo->bug_tracker::bug::object_type AcsSc.workflow_role_defaultassignees.getobjecttype.componentmaintainer AcsSc.workflow_role_defaultassignees.getobjecttype.componentmaintainer (private) AcsSc.workflow_role_defaultassignees.getobjecttype.componentmaintainer->bug_tracker::bug::object_type AcsSc.workflow_role_defaultassignees.getobjecttype.projectmaintainer AcsSc.workflow_role_defaultassignees.getobjecttype.projectmaintainer (private) AcsSc.workflow_role_defaultassignees.getobjecttype.projectmaintainer->bug_tracker::bug::object_type

Testcases:
No testcase defined.

bug_tracker::bug::update (public)

 bug_tracker::bug::update -bug_id bug_id [ -user_id user_id ] \
    [ -creation_ip creation_ip ] -array array

Update a bug in the DB. Usually, you'll want to use bug_tracker::bug::edit because that one sends out notifications, etc.

Switches:
-bug_id (required)
-user_id (optional)
-creation_ip (optional)
-array (required)
Returns:
bug_id The same bug_id passed in, just for convenience.
See Also:

Partial Call Graph (max 5 caller/called nodes):
%3 ad_conn ad_conn (public) bug_tracker::bug::cache_flush bug_tracker::bug::cache_flush (public) bug_tracker::bug::get bug_tracker::bug::get (public) db_exec_plsql db_exec_plsql (public) bug_tracker::bug::update bug_tracker::bug::update bug_tracker::bug::update->ad_conn bug_tracker::bug::update->bug_tracker::bug::cache_flush bug_tracker::bug::update->bug_tracker::bug::get bug_tracker::bug::update->db_exec_plsql

Testcases:
No testcase defined.

bug_tracker::bug::workflow_create (private)

 bug_tracker::bug::workflow_create

Create the 'bug' workflow for bug-tracker

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::install::package_install bug_tracker::install::package_install (private) bug_tracker::bug::workflow_create bug_tracker::bug::workflow_create bug_tracker::install::package_install->bug_tracker::bug::workflow_create bug_tracker::bug::edit bug_tracker::bug::edit (public) bug_tracker::bug::workflow_create->bug_tracker::bug::edit bug_tracker::bug::object_type bug_tracker::bug::object_type (public) bug_tracker::bug::workflow_create->bug_tracker::bug::object_type workflow::fsm::new_from_spec workflow::fsm::new_from_spec (public) bug_tracker::bug::workflow_create->workflow::fsm::new_from_spec

Testcases:
No testcase defined.

bug_tracker::bug::workflow_delete (private)

 bug_tracker::bug::workflow_delete

Delete the 'bug' workflow for bug-tracker

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::install::package_uninstall bug_tracker::install::package_uninstall (private) bug_tracker::bug::workflow_delete bug_tracker::bug::workflow_delete bug_tracker::install::package_uninstall->bug_tracker::bug::workflow_delete bug_tracker::bug::get_package_workflow_id bug_tracker::bug::get_package_workflow_id (public) bug_tracker::bug::workflow_delete->bug_tracker::bug::get_package_workflow_id workflow::delete workflow::delete (public) bug_tracker::bug::workflow_delete->workflow::delete

Testcases:
No testcase defined.

bug_tracker::bug::workflow_short_name (public)

 bug_tracker::bug::workflow_short_name

Get the short name of the workflow for bugs

Partial Call Graph (max 5 caller/called nodes):
%3 bug_tracker::bug::edit bug_tracker::bug::edit (public) bug_tracker::bug::workflow_short_name bug_tracker::bug::workflow_short_name bug_tracker::bug::edit->bug_tracker::bug::workflow_short_name bug_tracker::bug::get bug_tracker::bug::get (public) bug_tracker::bug::get->bug_tracker::bug::workflow_short_name bug_tracker::bug::get_package_workflow_id bug_tracker::bug::get_package_workflow_id (public) bug_tracker::bug::get_package_workflow_id->bug_tracker::bug::workflow_short_name bug_tracker::bug::new bug_tracker::bug::new (public) bug_tracker::bug::new->bug_tracker::bug::workflow_short_name bug_tracker::scheduled::close_bugs bug_tracker::scheduled::close_bugs (public) bug_tracker::scheduled::close_bugs->bug_tracker::bug::workflow_short_name

Testcases:
No testcase defined.
[ show source ]