I know when I ask Julian and Rock about a problem I am having and they both respond "Weird!", that I am having an issue where my head might not be stuck in another orifice of my body. The worst part about this problem is that it's simple functionality that Notes provides.
The issue I am having is with soft deletions, the soft delete view in particular. After following the super simple steps to implement soft deletions in an existing database, I am able to delete documents and have them go to the trash view. The issue comes when trying to restore the documents. I have tried using both the @UndeleteDocument and @Command([EditRestore]) functions and have had mixed results with both. They both always restore the document to the other views, but it's hit or miss as to whether or not the documents get removed from the trash view. In thinking I had done something totally wrong, I have even copied the view and undelete agent from the OpenLog template, without any more success. Rebuilding the view index using Shift-F9 does nothing. I have tried it locally, on a 6.5.5 server, and on a 7.0.2 server. I have tried it on a new database created from a template and a copy of an existing db.
In searching the Internet and Notes Knowledgebase, I came up with nothing that matches my scenario.
Has anyone else come up against a problem like this in the past? How did you solve it?
Created 7/26/2007 10:53:56 AM email | website
Sean, try the soft deletion elements in SuperNTF and see if the problem persists. I still need to document it all but a lot of thought went into that functionality and it has proved pretty robust so far.
It could be that the querydocumentundelete code I stole from notes mail will address this issue.