I have experienced some problems with upgrading from openacs-4.6.3 to openacs 5.0.4.
I have been working on a project using 4.6.3, later on we decided to upgrade to 5.0.4.
I use cvs to keep track of any changes made to the code.
I used the cvs import command to upgrade the existing code in the repository from 4.6.3, to 5.0.4.
One thing I noticed, is that some procs which are in acs 4.6.3 are changed/renamed to a different one on 5.0.4.
These are some of the procs that I found that were in 4.6.3 and were renamed in 5.0.4:
- acslang:
- lang-init, changed to acs-lang-init
- lang-procs, changed to lang-message-procs
-
acs-templating:
- 0-procs, changed to 0-acs-templating-procs
When you upgrade using cvs import, the older files mentioned above are kept, since they do not conflict with the newer version because their names are different.
One problem this may cause is that it can override some procs, especially in the case of lang-procs vs lang-message-procs. lang-procs gets sourced later than lang-message-procs so it overrides procs which are of the same name.
Hence I got the error "no value given for parameter "key" to "_" ..." I fixed this when I used cvs remove on lang-procs, and lang-init.
Currently my approach to solve this problem is to diff each package and look for procs which are not supposed to be there, and cvs remove them. Is there any better way to approach this?
TIA!!!!
Request notifications