open-cti-demo-adapter icon indicating copy to clipboard operation
open-cti-demo-adapter copied to clipboard

2nd time call always fail - phone panel keeps loading, demoAdaptor does not read values

Open mdcoolcat opened this issue 7 years ago • 2 comments

Hi,

For non-1st-time calls (even the same number, eg: click the same contact), phone panel keeps loading. From my debug lines, since it's non-1st-time, in branch https://github.com/developerforce/open-cti-demo-adapter/blob/2d733936576f6250de0ae139c8d383a5057d0382/src/aura/demoAdapter/demoAdapterHelper.js#L41 For some reason the component does not get values: params.recordId: undefined demoAdapter.js:64 state: undefined demoAdapter.js:65 toNumber: undefined

I guess this is why the call fails with loading. Any idea why the component fails to get these values?

image

mdcoolcat avatar Jun 26 '17 23:06 mdcoolcat

I am having the same issue.

tylerlong avatar Aug 19 '17 02:08 tylerlong

The online package doesn't have this issue. https://login.salesforce.com/packaging/installPackage.apexp?p0=04t41000000bSXh

So maybe we can compare the source code and figure it out.

tylerlong avatar Aug 19 '17 09:08 tylerlong