Forum OpenACS Development: Broken upgrade path of acs-kernel for 4.7
Posted by Peter Marklund on 02/08/03 09:23 PM
When trying to upgrade my homepage (that I boldly run off of cvs HEAD...) I encountered an upgrade problem for 4.7 of the acs-kernel package. It turns out I have added the a new file type (called message_catalog if I remember correctly) for I18N and since this file type is not in the db during upgrade the acs-admin/apm/packages-install page breaks.
I'm not sure what the best way to work around this problem is. I believe the only thing that is required though is to execute this one insert statement for the new file type and the upgrade admin UI works again.
2: Re: Broken upgrade path of acs-kernel for 4.7 (response to 1)
Posted by Don Baccus on 02/08/03 10:57 PM
Can you kludge around it at the Tcl level, for instance check to see if it exists from within packages-install and add it? With a big comment saying "remove this in 4.8"? :)
It's ugly but this kind of upgrade problem is specific to the pages that try to perform upgrades so it's not like we'll find ourselves doing this all throughout the toolkit, right?