cookieconsent::after-upgrade (private)
cookieconsent::after-upgrade [ -from_version_name from_version_name ] \ [ -to_version_name to_version_name ]
Defined in packages/cookie-consent/tcl/callback-procs.tcl
After-upgrade callback.
- Switches:
- -from_version_name (optional)
- -to_version_name (optional)
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: apm_upgrade_logic -from_version_name $from_version_name -to_version_name $to_version_name -spec { 0.7 0.8 { foreach package_id [apm_package_ids_from_key -package_key cookie-consent] { set old_value [parameter::get -package_id $package_id -parameter Version] ns_log notice "cookie-conset: after upgrade: check parameter 'Version'" "of package_id $package_id has value '$old_value'" set new_value $old_value regsub {cookieconsent2/} $old_value "" new_value if {$old_value ne $new_value} { parameter::set_value -package_id $package_id -parameter Version -value $new_value ns_log notice "cookie-conset: after upgrade: parameter 'Version'" "of package_id $package_id" "changed from '$old_value' to '$new_value'" } } } }XQL Not present: Generic, PostgreSQL, Oracle