SDK nodejs :bubble topic modification is not updated on uCaaS client
AnsweredHI,
In nodejs application, I modify the topic of a bubble with rainbowSDK.bubbles.setBubbleTopic().
Modification is applied but uCaaS clients (web or thick) are not refreshed.
Need to F5 for web client, logout/logon for thick client to refresh bubble topic.
Extracted logs:
2018-6-1 15:49:01 [1527860941439] - debug: BUBBLES - (setBubbleTopic) _entering_
2018-6-1 15:49:01 [1527860941440] - debug: REST - (setBubbleTopic) _entering_
2018-6-1 15:49:01 [1527860941441] - info: HTTP - (put) url https://openrainbow.com:443/api/rainbow/enduser/v1.0/rooms/5b1144f7c8ef820c35dde455 topic=samedi 2 juin 2018 à 07h00 pendant 0h30
2018-6-1 15:49:01 [1527860941444] - debug: XMPPQUEUE(addPromise) promise storing
2018-6-1 15:49:01 [1527860941445] - debug: XMPPCLIENT(send) sent
2018-6-1 15:49:01 [1527860941448] - info: BOTAPP - DB UPDATE SUCCESS for bubble= 5b1144f7c8ef820c35dde455
2018-6-1 15:49:01 [1527860941459] - debug: XMPPCLIENT(send) _exiting_ return promise
2018-6-1 15:49:01 [1527860941490] - debug: XMPP - (sendChatMessage) sent
2018-6-1 15:49:01 [1527860941550] - debug: XMPP - (handleXMPPConnection) raw in - << <message xmlns='jabber:client' to='cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H' from='openrainbo
w.com' type='chat' id='12494806053158412289'><timestamp value='2018-06-01T13:49:03.296475Z' xmlns='urn:xmpp:receipts'/><received entity='server' event='received' id='node_cbe76a6e-9db4-4f2e-90b1-e0bc1
f1017b70' xmlns='urn:xmpp:receipts'/></message>
2018-6-1 15:49:01 [1527860941561] - info: XMPP - (handleXMPPConnection) event - stanza | <message xmlns="jabber:client" to="cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H" from="openra
inbow.com" type="chat" id="12494806053158412289"><timestamp value="2018-06-01T13:49:03.296475Z" xmlns="urn:xmpp:receipts"/><received entity="server" event="received" id="node_cbe76a6e-9db4-4f2e-90b1-e
0bc1f1017b70" xmlns="urn:xmpp:receipts"/></message>
2018-6-1 15:49:01 [1527860941565] - error: XMPP/HNDL - (handleXMPPConnection) unmanaged chat message node timestamp
2018-6-1 15:49:01 [1527860941566] - info: XMPP/HNDL - (handleXMPPConnection) message - receipt received
2018-6-1 15:49:01 [1527860941702] - debug: XMPP - (handleXMPPConnection) raw in - << <message xmlns='jabber:client' xml:lang='en' to='cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H' fr
om='03583b7dc9e24b688ae1f25415ad728b@openrainbow.com/desk_win_1.41.4_MTM1LjExOC4yMjguMTQz' type='chat'><timestamp value='2018-06-01T13:49:03.436798Z' xmlns='urn:xmpp:receipts'/><received xmlns='urn:xm
pp:receipts' event='received' entity='client' id='node_cbe76a6e-9db4-4f2e-90b1-e0bc1f1017b70'/></message>
2018-6-1 15:49:01 [1527860941705] - info: XMPP - (handleXMPPConnection) event - stanza | <message xmlns="jabber:client" xml:lang="en" to="cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H
" from="03583b7dc9e24b688ae1f25415ad728b@openrainbow.com/desk_win_1.41.4_MTM1LjExOC4yMjguMTQz" type="chat"><timestamp value="2018-06-01T13:49:03.436798Z" xmlns="urn:xmpp:receipts"/><received xmlns="ur
n:xmpp:receipts" event="received" entity="client" id="node_cbe76a6e-9db4-4f2e-90b1-e0bc1f1017b70"/></message>
2018-6-1 15:49:01 [1527860941708] - error: XMPP/HNDL - (handleXMPPConnection) unmanaged chat message node timestamp
2018-6-1 15:49:01 [1527860941709] - info: XMPP/HNDL - (handleXMPPConnection) message - receipt received
2018-6-1 15:49:02 [1527860942327] - debug: XMPP - (handleXMPPConnection) raw in - << <message xmlns='jabber:client' xml:lang='en' to='cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H' fr
om='pcloud_enduser_10@openrainbow.com/93216625651809177611484' type='management' id='a2c5f98d-19ab-4f8d-8e27-f89ddd998111_632478'><room xmlns='jabber:iq:configuration' roomid='5b1144f7c8ef820c35dde455
' roomjid='room_08aa94a24fdb4dfb9aaee344b6f74f9c@muc.openrainbow.com' topic='samedi 2 juin 2018 à 07h00 pendant 0h30'/></message>
2018-6-1 15:49:02 [1527860942329] - info: XMPP - (handleXMPPConnection) event - stanza | <message xmlns="jabber:client" xml:lang="en" to="cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H
" from="pcloud_enduser_10@openrainbow.com/93216625651809177611484" type="management" id="a2c5f98d-19ab-4f8d-8e27-f89ddd998111_632478"><room xmlns="jabber:iq:configuration" roomid="5b1144f7c8ef820c35dd
e455" roomjid="room_08aa94a24fdb4dfb9aaee344b6f74f9c@muc.openrainbow.com" topic="samedi 2 juin 2018 à 07h00 pendant 0h30"/></message>
2018-6-1 15:49:02 [1527860942333] - info: HTTP - (put) HTTP code 200
2018-6-1 15:49:02 [1527860942334] - info: REST - (setBubbleTopic) successfull
2018-6-1 15:49:02 [1527860942335] - info: REST - (setBubbleTopic) REST bubble updated topic visibility=private, creationDate=2018-06-01T13:07:03.733Z, users=[privilege=moderator, additionDate=2018-06-
01T13:07:03.839Z, status=accepted, userId=5abde8db47c4320feef99109, jid_im=cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com, privilege=moderator, additionDate=2018-06-01T13:07:04.628Z, status=accepted
, userId=573196690c9e49cfbd1447b5, jid_im=03583b7dc9e24b688ae1f25415ad728b@openrainbow.com, privilege=user, additionDate=2018-06-01T13:07:05.972Z, status=accepted, userId=5b1144f8cd185c0efd4950f6, jid
_im=0781ac6005f04e44a45834144fddfdaa@openrainbow.com], history=none, disableNotifications=false, confEndpoints=[], lastAvatarUpdateDate=null, guestEmails=[], name=RDV Samedi 2, topic=samedi 2 juin 201
8 à 07h00 pendant 0h30, jid=room_08aa94a24fdb4dfb9aaee344b6f74f9c@muc.openrainbow.com, creator=5abde8db47c4320feef99109, country=FRA, company=da893faff14b6d2ca890b8ac737ae6b2, user=c482a5836621d9c958f
04d4c766fec2a, id=5b1144f7c8ef820c35dde455
2018-6-1 15:49:02 [1527860942339] - debug: REST - (setBubbleTopic) _exiting_
2018-6-1 15:49:02 [1527860942340] - info: BUBBLES - (setBubbleTopic) topic set samedi 2 juin 2018 à 07h00 pendant 0h30
2018-6-1 15:49:02 [1527860942341] - info: BOTAPP - setBubbleTopic(row.bubbleid) SUCCESS !
2018-6-1 15:49:02 [1527860942342] - debug: XMPP/HNDL - (handleXMPPConnection) bubble topic changed
2018-6-1 15:49:02 [1527860942343] - debug: REST - (getBubble) _entering_
2018-6-1 15:49:02 [1527860942344] - info: HTTP - (get) url https://openrainbow.com:443/api/rainbow/enduser/v1.0/rooms/5b1144f7c8ef820c35dde455?format=full
2018-6-1 15:49:03 [1527860943028] - info: HTTP - (get) HTTP code 200
2018-6-1 15:49:03 [1527860943029] - info: REST - (getBubble) successfull
2018-6-1 15:49:03 [1527860943030] - info: REST - (getBubble) REST get bubble information name=RDV Samedi 2, topic=samedi 2 juin 2018 à 07h00 pendant 0h30, history=none, jid=room_08aa94a24fdb4dfb9aaee3
44b6f74f9c@muc.openrainbow.com, creator=5abde8db47c4320feef99109, visibility=private, creationDate=2018-06-01T13:07:03.733Z, users=[privilege=moderator, status=accepted, userId=5abde8db47c4320feef9910
9, jid_im=cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com, additionDate=2018-06-01T13:07:03.839Z, privilege=moderator, status=accepted, userId=573196690c9e49cfbd1447b5, jid_im=03583b7dc9e24b688ae1f25
415ad728b@openrainbow.com, additionDate=2018-06-01T13:07:04.628Z, privilege=user, status=accepted, userId=5b1144f8cd185c0efd4950f6, jid_im=0781ac6005f04e44a45834144fddfdaa@openrainbow.com, additionDat
e=2018-06-01T13:07:05.972Z], disableNotifications=false, confEndpoints=[], lastAvatarUpdateDate=null, guestEmails=[], country=FRA, company=da893faff14b6d2ca890b8ac737ae6b2, user=c482a5836621d9c958f04d
4c766fec2a, id=5b1144f7c8ef820c35dde455, activeUsersCounter=3
2018-6-1 15:49:03 [1527860943033] - debug: REST - (getBubble) _exiting_
2018-6-1 15:49:03 [1527860943035] - debug: BUBBLES - (_onTopicChanged) Topic changed for bubble RDV Samedi 2 | samedi 2 juin 2018 à 07h00 pendant 0h30
Please sign in to leave a comment.
Comments
1 comment