Index: openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/Attic/index-oracle.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index-oracle.xql 6 Sep 2001 16:29:39 -0000 1.1 @@ -0,0 +1,19 @@ + + + oracle8.1.6 + + + + + select email as good_email from parties + where party_id = (select apv.attr_value + from apm_parameter_values apv, + apm_parameters ap + where ap.package_key = :package_key + and ap.parameter_name = 'NotificationSender' + and ap.parameter_id = apv.parameter_id) + + + + + Index: openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index-postgresql.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/Attic/index-postgresql.xql,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index-postgresql.xql 6 Sep 2001 16:29:39 -0000 1.1 @@ -0,0 +1,19 @@ + + + postgresql7.1 + + + + + select email as good_email from parties + where party_id = (select apv.attr_value + from apm_parameter_values apv, + apm_parameters ap + where ap.package_key = :package_key + and ap.parameter_name = 'NotificationSender' + and ap.parameter_id = apv.parameter_id)::integer + + + + + Index: openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.adp,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.adp 20 Apr 2001 20:51:25 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.adp 6 Sep 2001 16:29:39 -0000 1.2 @@ -17,6 +17,33 @@
  • The SystemUrl parameter under acs-kernel/system-information still has its default value, which is @dubious_url@ + +
  • The NotificationSender parameter under ticket-tracker does not have an email associated with it. This parameter is a party_id and must have a valid email address because this email address will sign all alerts that the ticket-tracker sends out. +
    + + + + + + +
    Search for a user + Add a new user +
    +
    + +

    By email address: +

    -- OR --
    +

    By last name: +

    +
    +
    +
    +
    +
    You'll need to come back to the ticket-tracker after you're done. +
    +
    +
    + Please go to Site Map to correct the error(s). Index: openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.tcl 20 Apr 2001 20:51:25 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.tcl 6 Sep 2001 16:29:39 -0000 1.2 @@ -12,8 +12,12 @@ gc_mounted_p:onevalue workflow_mounted_p:onevalue has_error_p:onevalue + package_url:onevalue } +set package_url [ad_conn package_url] +set package_key [ad_conn package_key] + set context_bar {} # check to see if general comments has been mounted @@ -47,7 +51,20 @@ set dubious_url "" } -if { !$gc_mounted_p || !$workflow_mounted_p || ![empty_string_p $dubious_url] } { +# check to see if NotificationSender has an email address +if { ![db_0or1row check_sender " + select email as good_email from parties + where party_id = (select apv.attr_value + from apm_parameter_values apv, + apm_parameters ap + where ap.package_key = :package_key + and ap.parameter_name = 'NotificationSender' + and ap.parameter_id = apv.parameter_id) +" ] } { + set good_email "" +} + +if { !$gc_mounted_p || !$workflow_mounted_p || ![empty_string_p $dubious_url] || [empty_string_p $good_email] } { set has_error_p 1 } else { set has_error_p 0 Index: openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.xql,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.xql 4 Jun 2001 16:53:27 -0000 1.1 +++ openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/index.xql 6 Sep 2001 16:29:39 -0000 1.2 @@ -41,5 +41,4 @@ - Index: openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/set-sender.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/set-sender.tcl,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ openacs-4/contrib/obsolete-packages/ticket-tracker/www/admin/install/set-sender.tcl 6 Sep 2001 16:29:39 -0000 1.1 @@ -0,0 +1,15 @@ +# /packages/ticket-tracker/www/admin/install/set-sender.tcl +ad_page_contract { + Set the NotificationSender parameter based on the result from a user-search + + @author vkurup@massmed.org [vkurup@massmed.org] + @creation-date Wed Sep 5 00:45:28 2001 + @cvs-id +} { + {user_id_from_search:integer 0} +} + +# set the NotificationSender to this user_id +ad_parameter -set $user_id_from_search NotificationSender + +ad_returnredirect "[ad_conn package_url]"