Forum OpenACS Development: Re: 5.0 upgrade process requires Tcl Calls

Collapse
Posted by Dave Bauer on
ETP page in progress to attempt to document the upgrade process:

https://openacs.org/projects/openacs/5.0/upgrade-463-50

Collapse
Posted by Robert Gaszewski on

In my case I had to import acs-lang messages for locale en_US so my openacs-5/tcl/ zzz-postload.tcl contains:

if {![apm_package_installed_p acs-lang]} {
    apm_package_install -enable -mount_path acs-lang [acs_root_dir]/packages/acs-lang/acs-lang.info
    lang::catalog::import -locales [list "en_US"]
}

if {![apm_package_installed_p acs-authentication]} {
    apm_package_install -enable [acs_root_dir]/packages/acs-authentication/acs-authentication.info
    apm_parameter_register "UsePasswordWidgetForUsername" \
     "Should we hide what the user types in the username
      field, the way we do with the password field? Set
      this to 1 if you are us ing sensitive information
      such as social security number for username." \
     acs-kernel 0 number \
     security 1 1
    parameter::set_value -package_id [ad_acs_kernel_id] -parameter UsePasswordWidgetForUsername -value 0
}