User code id issue in 3.0
Posted: Fri Mar 04, 2011 6:37 pm
On the initial loading of our project in 3.0 we got several of the "no repository item is linked to the validation record item" warnings during the long load ( it actually took almost a minute to load the project between clicking OK on each dialog that popped up and loading the next one). The biggest problem is that the warnings do not tell you which recording has the issue, so I had to open each recording until I saw the warning pop up again. When I ported from 2.3 to 3.0 I got three warnings, so I had to open each recording (we have probably 40-50 recordings ) until I found the ones causing the problem. The other issue I had was that these are popup warnings ONLY, and they do not display in the warnings output when you build. My solution built in 3.0 without any errors or warnings in the output but the warning dialogs would pop up while building and the solution would not run until I fixed these warnings.
All of my warnings were due to the following issue:
It seems now that there are ids associated with user code and making large repository changes (using the cleanup command) or porting from 2.3 to 3.0 can screw those ids up.
SOLUTION: I had this happen several times and I had to copy the user code out of the method, delete the user code method from the recording and then create a new method and stick the code back in it.
I also had to individually open each of our recordings for the 2.3 to 3.0 file changes to be made which was kind of annoying.
All of my warnings were due to the following issue:
It seems now that there are ids associated with user code and making large repository changes (using the cleanup command) or porting from 2.3 to 3.0 can screw those ids up.
SOLUTION: I had this happen several times and I had to copy the user code out of the method, delete the user code method from the recording and then create a new method and stick the code back in it.
I also had to individually open each of our recordings for the 2.3 to 3.0 file changes to be made which was kind of annoying.