Serious bug in LotusScript in combination with pass-thru server
Category Notes Lotusscript
Bookmark :
A few days ago I ran into a problem that at first drived me crazy. I had a local agent that opened names.nsf on a server and then did a GetDocumentByKey in a view in names.nsf. Although I was sure that a document should be found, Notes did not find anything. When running the agent with the debugger turned on I found out that names.nsf was being opened on the wrong server, in this case on a server in a different domain.
As you can see in the screen print I was trying to open names.nsf on the server P0370000 but it opened on the server P0370900.

At first I was just stunned, ran the script a couple of times more, with the same result, and asked a collegue to check what I was doing wrong, nothing....
After a restart of my Notes client the script ran as it should, but later that day it went wrong again. Since I can only access the server P0370900 via pass-thru through the server P0370000 I began to think it had something to do with pass-thru so I did some testing in that direction.
It turned out that when I did not open aything on the server P0370900 after starting Notes the script ran fine. Once I performed a File, Application, Open on the server P0370900 the script would no longer open names.nsf on the server P0370000 but on the P0370900.
I tested this in Notes 8.5 FP1.
I will report this to IBM.
Bookmark :
A few days ago I ran into a problem that at first drived me crazy. I had a local agent that opened names.nsf on a server and then did a GetDocumentByKey in a view in names.nsf. Although I was sure that a document should be found, Notes did not find anything. When running the agent with the debugger turned on I found out that names.nsf was being opened on the wrong server, in this case on a server in a different domain.
As you can see in the screen print I was trying to open names.nsf on the server P0370000 but it opened on the server P0370900.
At first I was just stunned, ran the script a couple of times more, with the same result, and asked a collegue to check what I was doing wrong, nothing....
After a restart of my Notes client the script ran as it should, but later that day it went wrong again. Since I can only access the server P0370900 via pass-thru through the server P0370000 I began to think it had something to do with pass-thru so I did some testing in that direction.
It turned out that when I did not open aything on the server P0370900 after starting Notes the script ran fine. Once I performed a File, Application, Open on the server P0370900 the script would no longer open names.nsf on the server P0370000 but on the P0370900.
I tested this in Notes 8.5 FP1.
I will report this to IBM.
- 


Comments
Posted by Kevin Urbanek At 14:15:46 On 18-09-2009 | - Website - |
Posted by Suchitra Swain At 14:54:24 On 18-09-2009 | - Website - |