open-cti-demo-adapter
open-cti-demo-adapter copied to clipboard
2nd time call always fail - phone panel keeps loading, demoAdaptor does not read values
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?
I am having the same issue.
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.