Index: openacs-4/packages/acs-admin/www/apm/version-edit-2.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-admin/www/apm/version-edit-2.tcl,v diff -u -r1.15 -r1.16 --- openacs-4/packages/acs-admin/www/apm/version-edit-2.tcl 19 Jan 2018 13:40:40 -0000 1.15 +++ openacs-4/packages/acs-admin/www/apm/version-edit-2.tcl 20 Jan 2018 22:45:12 -0000 1.16 @@ -57,13 +57,15 @@ if { $version_changed_p && $version_uri eq $old_version_uri } { ad_return_complaint 1 {You have changed the version number but not the version URL. When creating a package for a new version, you must select a new URL for the version.} + ad_script_abort } if { $upgrade_p && [db_string apm_version_uri_unique_ck { select decode(count(*), 0, 0, 1) from apm_package_versions where version_uri = :version_uri } -default 0] } { ad_return_complaint 1 "A version with the URL $version_uri already exists." + ad_script_abort } db_transaction {