Do NOT use joinChannel on App Channels
Closed this issue · 2 comments
@Joe-Dunleavy @osouthwell-scottlogic @robmoffat The 1.2 open tests are still using fdc3.joinChannel
calls for app channels - as previously discussed you must use fdc3.getOrCreateChannel
on app channels NOT fdc3.joinChannel
:
and your receiver needs to use the channel object NOT the top level fdc3.addContextListener
(which is for user/system channels):
You'll need to fix this both in the test definition and the mock apps (which still contain JS in a script tag):
FDC3-conformance-framework/static/v1.2/general/index.html
Lines 16 to 38 in 14b1ea6
This applies to both 1.2 and 2.0 mock apps (I've only provided references for 1.2)
This PR resolves this in both 1.2 and 2.0: #140
resolved