...however, if I replace doc.remove(true) with doc.removePermanently(true) it behaves as expected.
If the behaviour of doc.remove() has changed compared to the lotus.domino.*-API, then this should probably be documented. I am currently replacing the old lotus.domino in an existing project, and if it behaved the same way, that would be much easier. :)
In this case, I am lucky, as I have a single point where all documents go to be removed, but there are probably other changes like this?
regards
Bjørn