SDK Nodejs : setBubbleName refresh topic with blank content
AnsweredHi,
In nodejs application, when using setBubbleName(), bubble's name is refreshed when fonction is applied = OK.
But, topic is refresh with empty (blank) content for uCaaS client (wen & thick).
Need to F5 for web client or logout/logon for thick client to refresh topic with correct content.
Note: maybe linked to post on setBubbleTopic()
Extracted logs:
2018-6-1 15:58:01 [1527861481153] - debug: BUBBLES - (setBubbleName) _entering_
2018-6-1 15:58:01 [1527861481154] - debug: REST - (setBubbleName) _entering_
2018-6-1 15:58:01 [1527861481154] - info: HTTP - (put) url https://openrainbow.com:443/api/rainbow/enduser/v1.0/rooms/5b1144f7c8ef820c35dde455 name=RDV Samedi 2 juin 2018
2018-6-1 15:58:01 [1527861481156] - debug: XMPPQUEUE(addPromise) promise storing
2018-6-1 15:58:01 [1527861481157] - debug: XMPPCLIENT(send) sent
2018-6-1 15:58:01 [1527861481160] - info: BOTAPP - DB UPDATE SUCCESS for bubble= 5b1144f7c8ef820c35dde455
2018-6-1 15:58:01 [1527861481173] - debug: XMPPCLIENT(send) _exiting_ return promise
2018-6-1 15:58:01 [1527861481174] - debug: XMPP - (sendChatMessage) sent
2018-6-1 15:58:01 [1527861481213] - debug: XMPP - (handleXMPPConnection) raw in - << <message xmlns='jabber:client' to='cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H' from='openrainbo
w.com' type='chat' id='14290635059358261249'><timestamp value='2018-06-01T13:58:03.019327Z' xmlns='urn:xmpp:receipts'/><received entity='server' event='received' id='node_6345651a-f0a0-40b6-8702-471ff
86379cd1' xmlns='urn:xmpp:receipts'/></message>
2018-6-1 15:58:01 [1527861481216] - info: XMPP - (handleXMPPConnection) event - stanza | <message xmlns="jabber:client" to="cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H" from="openra
inbow.com" type="chat" id="14290635059358261249"><timestamp value="2018-06-01T13:58:03.019327Z" xmlns="urn:xmpp:receipts"/><received entity="server" event="received" id="node_6345651a-f0a0-40b6-8702-4
71ff86379cd1" xmlns="urn:xmpp:receipts"/></message>
2018-6-1 15:58:01 [1527861481219] - error: XMPP/HNDL - (handleXMPPConnection) unmanaged chat message node timestamp
2018-6-1 15:58:01 [1527861481219] - info: XMPP/HNDL - (handleXMPPConnection) message - receipt received
2018-6-1 15:58:01 [1527861481298] - 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:58:03.113768Z' xmlns='urn:xmpp:receipts'/><received xmlns='urn:xm
pp:receipts' event='received' entity='client' id='node_6345651a-f0a0-40b6-8702-471ff86379cd1'/></message>
2018-6-1 15:58:01 [1527861481301] - 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:58:03.113768Z" xmlns="urn:xmpp:receipts"/><received xmlns="ur
n:xmpp:receipts" event="received" entity="client" id="node_6345651a-f0a0-40b6-8702-471ff86379cd1"/></message>
2018-6-1 15:58:01 [1527861481303] - error: XMPP/HNDL - (handleXMPPConnection) unmanaged chat message node timestamp
2018-6-1 15:58:01 [1527861481304] - info: XMPP/HNDL - (handleXMPPConnection) message - receipt received
2018-6-1 15:58:01 [1527861481706] - debug: XMPP - (handleXMPPConnection) raw in - << <message xmlns='jabber:client' xml:lang='en' to='cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H' fr
om='pcloud_enduser_3@openrainbow.com/178298821347935272978579' type='management' id='ee346a58-806d-4eef-a5b0-380d0e18743c_630035'><room xmlns='jabber:iq:configuration' roomid='5b1144f7c8ef820c35dde455
' roomjid='room_08aa94a24fdb4dfb9aaee344b6f74f9c@muc.openrainbow.com' name='RDV Samedi 2 juin 2018'/></message>
2018-6-1 15:58:01 [1527861481708] - info: XMPP - (handleXMPPConnection) event - stanza | <message xmlns="jabber:client" xml:lang="en" to="cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com/node_7fVML41H
" from="pcloud_enduser_3@openrainbow.com/178298821347935272978579" type="management" id="ee346a58-806d-4eef-a5b0-380d0e18743c_630035"><room xmlns="jabber:iq:configuration" roomid="5b1144f7c8ef820c35dd
e455" roomjid="room_08aa94a24fdb4dfb9aaee344b6f74f9c@muc.openrainbow.com" name="RDV Samedi 2 juin 2018"/></message>
2018-6-1 15:58:01 [1527861481710] - debug: XMPP/HNDL - (handleXMPPConnection) bubble name changed
2018-6-1 15:58:01 [1527861481711] - debug: REST - (getBubble) _entering_
2018-6-1 15:58:01 [1527861481712] - info: HTTP - (get) url https://openrainbow.com:443/api/rainbow/enduser/v1.0/rooms/5b1144f7c8ef820c35dde455?format=full
2018-6-1 15:58:01 [1527861481714] - info: HTTP - (put) HTTP code 200
2018-6-1 15:58:01 [1527861481715] - info: REST - (setBubbleName) successfull
2018-6-1 15:58:01 [1527861481716] - info: REST - (setBubbleName) REST bubble updated name visibility=private, creationDate=2018-06-01T13:07:03.733Z, users=[privilege=moderator, additionDate=2018-06-01
T13: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_i
m=0781ac6005f04e44a45834144fddfdaa@openrainbow.com], history=none, disableNotifications=false, confEndpoints=[], lastAvatarUpdateDate=null, guestEmails=[], name=RDV Samedi 2 juin 2018, topic=samedi 2
juin 2018 à 07h00 pendant 0h30, jid=room_08aa94a24fdb4dfb9aaee344b6f74f9c@muc.openrainbow.com, creator=5abde8db47c4320feef99109, country=FRA, company=da893faff14b6d2ca890b8ac737ae6b2, user=c482a583662
1d9c958f04d4c766fec2a, id=5b1144f7c8ef820c35dde455
2018-6-1 15:58:01 [1527861481719] - debug: REST - (setBubbleName) _exiting_
2018-6-1 15:58:01 [1527861481720] - info: BUBBLES - (setBubbleName) name set RDV Samedi 2 juin 2018
2018-6-1 15:58:01 [1527861481721] - info: BOTAPP - setBubbleName(row.bubbleid) SUCCESS !
2018-6-1 15:58:02 [1527861482282] - info: HTTP - (get) HTTP code 200
2018-6-1 15:58:02 [1527861482283] - info: REST - (getBubble) successfull
2018-6-1 15:58:02 [1527861482284] - info: REST - (getBubble) REST get bubble information name=RDV Samedi 2 juin 2018, topic=samedi 2 juin 2018 à 07h00 pendant 0h30, history=none, jid=room_08aa94a24fdb
4dfb9aaee344b6f74f9c@muc.openrainbow.com, creator=5abde8db47c4320feef99109, visibility=private, creationDate=2018-06-01T13:07:03.733Z, users=[privilege=moderator, status=accepted, userId=5abde8db47c43
20feef99109, jid_im=cdea0b3ce9124a63bfbc244b98bdb851@openrainbow.com, additionDate=2018-06-01T13:07:03.839Z, privilege=moderator, status=accepted, userId=573196690c9e49cfbd1447b5, jid_im=03583b7dc9e24
b688ae1f25415ad728b@openrainbow.com, additionDate=2018-06-01T13:07:04.628Z, privilege=user, status=accepted, userId=5b1144f8cd185c0efd4950f6, jid_im=0781ac6005f04e44a45834144fddfdaa@openrainbow.com, a
dditionDate=2018-06-01T13:07:05.972Z], disableNotifications=false, confEndpoints=[], lastAvatarUpdateDate=null, guestEmails=[], country=FRA, company=da893faff14b6d2ca890b8ac737ae6b2, user=c482a5836621
d9c958f04d4c766fec2a, id=5b1144f7c8ef820c35dde455, activeUsersCounter=3
2018-6-1 15:58:02 [1527861482287] - debug: REST - (getBubble) _exiting_
2018-6-1 15:58:02 [1527861482288] - debug: BUBBLES - (_onNameChanged) Name changed for bubble RDV Samedi 2 juin 2018 | RDV Samedi 2 juin 2018
Please sign in to leave a comment.
Comments
1 comment