Old code in designer 8.5.2

we have changed from 8.5 to 8.5.2in the designer 8.5.2 there is old buggy code displayed. In the same database under 8.5 there is the right code displayed.

have someone any ideas?

best regards

stephan

Subject: is this in a LotusScript script library or database script?

if the script was saved with errors (new feature in 8.5.1), older Designers would show the old code, and newer versions the code that was edited to give an error. In both cases the “good” code would run.

Is this the situation you are seeing?

Subject: Yes in a script library

In one script library there is the old code displayed in 8.5.2. The application runs. In 8.5 I can see the new correct code.

But how to get to the correct code under 8.5.2?

Subject: Is there a $Script_Error field on the 8.52 lib?

as well as a $Script?

Is there an error in the library? (There should be if both items are there).

Subject: only if using the eclipse based editor

if I change to the normal editor, not the eclipse based, the correct code is displayed.

Subject: I found these fields now!

Yes, in the scriptlib there are these two fields $ScriptLib and $ScriptLib_error.

The 8.5.2 Eclipse designer shows me the buggy code.

But why??? This is an old Version that no longer exists. How can I clear these _error fields?

do nothing.

These two fields does not contain the whole code.

Subject: edit the library

and either paste in the contents you DO want, or fix the errors such that you have the code you want there.

Once it saves successfully without errors in the new error, the errors field will be automatically deleted, and both versions of the editor will see the same code.

As for why - it has long been a feature request to be able to save code with errors on it to return to later. When we’re in that state, we still want the old code to be able to run (according to our user feedback), so we keep the “work in progress” code in the separate item. The new editor will look to that first, as the assumption is that you will want to continue your work on the most recent code.

Subject: works, thank you

and if I have buggy code, there is no way to see the code that runs?

Subject: only by using the old editor right now.

But that’s an interesting idea!

Subject: where can I find this field?