Hi All,I have a problem with the document locking functionality. The problem is if the user opens any document a lock document is getting created TWICE. The 2 lock documents are getting created with in 2-3 seconds of time. For only very few documents I am getting the problem.
Any suggestions are much appreciated. Thanks inadvance for your help !!
Subject: Problem with Document Locking
Does Domino’s own document locking create lock documents??
Subject: RE: Problem with Document Locking
No. Custom code is there for this document locking funtionality.
Thank you very much for your response.
Subject: RE: Problem with Document Locking
It’s a little hard to guess what might cause the problem, if we have no idea how the code works, how it is called, what might have changed (if it worked before) and so on.
Subject: RE: Problem with Document Locking
If you are locking in LS - that is, using “Lock” methods - then you are hard locking, not soft locking: there are no SL handles in LS through R7 (unfortunatley - I think in R* as well but not sure).
Subject: Problem with Document Locking
Would need more information on exactly what is happening to find solution, but a couple of things come to mind…
-
Are you referring to hard-locked or soft-locked documents (R 6, 7, and 8 have soft-lock bugs)?
-
Also, is this happening in new docs only (… you say it only happens “sometimes”)? Another R 6, 7, 8 bug involves inadvertent duplicate docs created when a new doc is saved in the UI, then opened again from the view. Instead of opening the doc, a second version of hte doc is created, softlock does not engage correctly, and conflict docs are created automatically (maybe this is what you mean by two locked documents created…?)
If this sounds familiar there are SPRs out on each. There are workarounds…
Subject: RE: Problem with Document Locking
Hi Lisa,
Thanks for your response. I will explain you how the code works. Please give me some time…
Thanks again !!!