>are your code affected by the 8.5.2 computewithform bug and how to fix it
Posted by Fredrik Norling
on 5 January,2011
>There is a bug in Domino 8.5.2 that affects the use of Computewithform. If you are using computewithform in your code you should read this. There is no alarm because there is a easy fix to the problem and I don’t think that many will be affected. IBM is working on a HotFix for this but it’s easy to fix so that many will not need it.
If you use computewithform directly after you have fetched a document object then you are affected but If you do something with the backend document before you do the computewithform.
there is no problem.
So check if you application is affected search the code for computewithform( and check if you do a replaceitemvalue, getitemvalue or other manipulation with the document.
But if your code look like this
Then just change the code to
And you have fixed the bug so simple.