Reasons why Notesdocument.Save(true,false) would return false but not generate an error?

While looping through in memory list of documents (some new, some modified) and saving them, i have the impression one new was not saved. I don’t test the return code of of the save function, but i do trap any error occurring in the process.

So i’m wondering what reasons there could be for save to return false and not cause an error.

The id the script runs with has all the required access to the database.

Client is 8.5.1 on win 7 64bit.

Server is 8.5.1 FP4

Thanks for any info you can provide.

j.

Subject: Not exactly what you are describing, but anyway…

…if save returns false w/o raising an error, it usually means that the document has not been modified since it was last saved.

Subject: More info.

Thanks for your reply.Well the thing is i’m possibly missing a document that should have been saved this way.

Had no error, but i don’t test for the result of doc.Save.

It is a new document so i’m pretty sure it is ‘modified’ and should have been saved. Moreover i have all the item values it should have had in the audit trail, which is saved in another document in anopther database just before the actual document is saved.

Even stranger is that subsequent documents processed in the loop (also new documents but also modified ones) were saved after the one that was not saved (proof in audit trail).

That is why i would like to know the condition under which Save returns false. Probably the one you gave is valid, but not applicable here.

j.