Ive got an really strange problem with dockument locking. The problem is as follow:
The database is the only replica that exist on the current and other servers. When a user is editing a document, the document correctly gets locked and the fields $Writers and $WritersDate apperar out of the blue.
Some times (most of the time) the documents doesent get unlocked, even if the user editing the document saves and exits the document. The document can stay locked between 10 minutes and up about an hour. But if the user exits the database completely then the document gets unlocked…
This behaviour is not acceptable and if anyone have got a clue what this is about, please respond!!
Note that this problem has no connection with the database property that allows locking of documents nor has it helped to check, uncheck the property and then compacted the database (not more then for the moment anyway)…
Subject: Still problems with soft locking of documents
Tis problem is still there…
The soft locking doesent create the fields $Writers and $WriterDate. The problem is that whenn a user posts a document the document is locked by that user until the user closes the entire databse… Does anybody know why…?
The process of saving a document in this database involves a LotusScript agen wich uses the document’s front end and back end class. Could it be that the agent is locking the document?? The agent runs on the specified user’s ID therefore it would make sense that notes states that the user is locking the document, but the thing that doesent make any sense is that then it wouldnt be possible to have agents run on certain documents because of the softlock feature!!
We really need this softlocking feature and i hope somebody does have some tips regarding this problem… Were thinking of upgrading to Domino 6.5.1, just to see if it makes any difference…
Any tips is apriciated…
I have searched all of the forum and read all technical documents i have found on this topic but nothing have helped.
BTW The server is a partitioned installation if that could make any difference…
Subject: RE: Still problems with soft locking of documents
I have a part solution not the best one ive ever come up with, more of a “bodge” really. It does seem to work for me though.
Your problem is that notes is forgetting to remove the $Writers and $Writersdates fields.
The solutions that have worked for me is to put those fields on the documents as computed for display fields (as notes removing computed for display fields seems more reliable) and have the formulae as
@If(@IsDocBeingEdited;@UserName;“”)
@If(@IsDocBeingEdited;@Today;“”)
respectivly. This works for me and the documents that i was having problems with are now unlocking as they should.