Code refresh wipes Lotusscript code

The organisation I work for has recently upgraded their servers to version 6.x from version 4.6.x, since this has happened whenever a certain database is refreshed from the template selected actions stop working.

They are still visible but clicking the action doesn’t do anything, the actions are written in LotusScript. Analysing what is happening with debugger doesn’t help as it’s almost as if the LotusScript for that action has been wiped. The action in effect becomes empty of code.

To fix it I have to revert to a version 4 client and refresh manually but this is not a long term solution.

This issue seems to be related to having version 6 servers as I have been coding and refreshing using a 6.5 client for several months prior to the server upgrade.

The code design is hidden on the production database. Anyone got any clues ?

Subject: Code refresh wipes Lotusscript code

Do a design synopsis and look for reserved words that are used in R6. Off the top of my head I can recall one of them, but I know there are certains functions like (and this is an example I’m not sure if it’s right) but Replace…let say you have a Sub or Function that is called “Replace” in R6 there is a new actually Function called Replace so it bombs…look for things like that. I’m sure someowhere on this site there’s a list of those reservations…

Subject: RE: Code refresh wipes Lotusscript code

I ran the “Recompile all LotusScript” function and this seems to have fixed the issue (I will have to wait a few days to be certain as there are 11 versions of notes running, hence the upgrade). This should also pick up any unintentional misuse of reserved words.