Domino on Linux/Unix, Troubleshooting, Best Practices, Tips and more ...

alt

Daniel Nashed

Notes Client hangs when pasting documents into local or server-based names.nsf

Daniel Nashed – 3 April 2011 08:33:59

I thought this is issue already widely known but I still have customers running into it.
The problem will be fixed in 8.5.3. I have no idea how an issue like this can pass product testing and can happen.. The IF is only true for account documents so the infinit loop should almost always happen.

Here is a fix described in TN #1446084.

When you modify the code in the template on your admin server, make sure your names.nsf only inherits design on the admin server.

-- Daniel


-- snip --

Problem If using Notes 8.5.1 or 8.5.2 (Standard or Basic), when you attempt to paste a document into names.nsf (local or server), the Notes client appears to hang. To recover from the hang, you have to press Ctrl + Break.   Resolving the problem 

This issue has been reported to Quality Engineering as SPR# MOBN87BNC8.

In order to correct this problem, the Domino Directory template (pubnames.ntf) needs to be modified. Once it is open in the Domino Designer, perform these steps:

1. Open the (RenamePastedAccounts) agent

2. In the Initialize subroutine, move the call to "dc.getnextdocument(doc)" outside of the If statement as below:

...
While
 Not doc Is Nothing 
      If doc.getitemvalue(TYPE_FIELD)(0) = ACCT_TYPE Then 
          strName = doc.getitemvalue(ACCT_NAME)(0)
          Call
           doc.ReplaceItemValue(ACCT_NAME, str1 + strName)
          Call
           doc.save(True, False)
          Set doc = dc.getnextdocument(doc)
      End If
      Set doc = dc.getnextdocument(doc)
Wend
...


3. Save the agent and replace the design of your Domino Directory with this modified template.


-- snip --

Links

    Archives


    • [HCL Domino]
    • [Domino on Linux]
    • [Nash!Com]
    • [Daniel Nashed]