Good evening,
I'm having a performance a serious performance issue when using a CIF v1.0. I can easealy reproduce the issue following the following steps.
- Reduce the promise timeout of CIF to a smaller value. By default is 10000 miliseconds.
Microsoft.CIFramework.postMessageNamespace.promiseTimeOut = 2000
- Run the following query. (i know that is not optimized, the idea is to reproduce the issue)
Microsoft.CIFramework.searchAndOpenRecords("account", "?$select=name&$filter=contains(accountnumber, '13242355555') or contains(address1_telephone3, '13242355555') or contains(address1_telephone2, '13242355555') or contains(emailaddress1, '13242355555')", true).then(
function (valStr) {
console.log('sucess',valStr)
},
function(err){
console.error('err',err)
})
- After the 2 seconds the promise will be cancelled and the error "{"message":"Timeout occurred as no response was received from listener window"}"
- When the query is finally over the cpu will spike and never go down until i refresh the page.
Note:
- I just lower the promiseTiemout to be able to replicate the issue in a tenant with just a few records
- After the isseu i can see the the following postMessage is sent indefinitely.
- "No handlers found to process the request."
Best Regards,
João Jesus