Closed GoogleCodeExporter closed 9 years ago
Hola Vicente:
si no me copias las trazas del xml entrante (aparece con un IN delante) no puedo
saber qué está fallando...
a ver si lo pescamos.
Original comment by danigb
on 24 Apr 2008 at 10:25
Sorry. I was trying to subscribe to non existing users (some days ago). The
presences
received now:
[DEBUG] GWT CONNECTOR RECEIVED: <body
xmlns='http://jabber.org/protocol/httpbind'><iq
type="result" id="roster_3" to="admin@localhost/emiteui-1209046131087"><query
xmlns="jabber:iq:roster"><item jid="vjrj@localhost" name="vkrk"
subscription="both"/><item jid="ciom@asda" name="asdfas" ask="subscribe"
subscription="none"/><item jid="test1@sample.com" name="asdfa" ask="subscribe"
subscription="none"/><item jid="test2@localhost" name="adada" ask="subscribe"
subscription="none"/><item jid="vjrj22@locahost" name="testuser2"
ask="subscribe"
subscription="from"/><item jid="adada@asdasd.com" name="adfa" ask="subscribe"
subscription="none"/></query></iq></body>
Original comment by vruiz.ju...@gmail.com
on 24 Apr 2008 at 2:12
I made some test... and i think the issue is fixed... ideas?
Original comment by danigb
on 24 Apr 2008 at 5:39
As before... but I think this is normal... I receive a subscription with empty
presence. Is not?
[DEBUG] GWT CONNECTOR RECEIVED: <body
xmlns='http://jabber.org/protocol/httpbind'><iq
type="result" id="roster_3" to="admin@localhost/emiteui-1209064539929"><query
xmlns="jabber:iq:roster"><item jid="vjrj@localhost" subscription="both"/><item
jid="ciom@asda" name="asdfas" ask="subscribe" subscription="none"/><item
jid="test1@sample.com" name="asdfa" ask="subscribe" subscription="none"/><item
jid="test2@localhost" name="adada" ask="subscribe" subscription="none"/><item
jid="vjrj22@locahost" name="testuser2" ask="subscribe"
subscription="from"/><item
jid="adada@asdasd.com" name="adfa" ask="subscribe"
subscription="none"/></query></iq></body>E7A2CAEBF71BDEF69... (line 144)
[DEBUG] Dispatching:
com.calclab.emite.client.core.packet.gwt.GWTPacket@9E7A2CAEBF71BDEF69... (line
144)
[DEBUG] DISPATCH BEGINS >>>>>>>>>>>E7A2CAEBF71BDEF69... (line 144)
[DEBUG] Dispatching:
com.calclab.emite.client.core.packet.gwt.GWTPacket@aE7A2CAEBF71BDEF69... (line
144)
[DEBUG] ID LISTENER FOUNDED : roster_3E7A2CAEBF71BDEF69... (line 144)
[INFO] Adding roster item: vjrj@localhost name: null subsc:
bothE7A2CAEBF71BDEF69...
(line 141)
[INFO] PRESENCE: type: unavailable from: null show: away status:
nullE7A2CAEBF71BDEF69... (line 141)
[INFO] Adding roster item: ciom@asda name: asdfas subsc:
noneE7A2CAEBF71BDEF69...
(line 141)
[INFO] PRESENCE: type: unavailable from: null show: away status:
nullE7A2CAEBF71BDEF69... (line 141)
[INFO] Adding roster item: test1@sample.com name: asdfa subsc:
noneE7A2CAEBF71BDEF69... (line 141)
[INFO] PRESENCE: type: unavailable from: null show: away status:
nullE7A2CAEBF71BDEF69... (line 141)
[INFO] Adding roster item: test2@localhost name: adada subsc:
noneE7A2CAEBF71BDEF69... (line 141)
[INFO] PRESENCE: type: unavailable from: null show: away status:
nullE7A2CAEBF71BDEF69... (line 141)
[INFO] Adding roster item: vjrj22@locahost name: testuser2 subsc:
fromE7A2CAEBF71BDEF69... (line 141)
[INFO] PRESENCE: type: unavailable from: null show: away status:
nullE7A2CAEBF71BDEF69... (line 141)
[INFO] Adding roster item: adada@asdasd.com name: adfa subsc:
noneE7A2CAEBF71BDEF69... (line 141)
[INFO] PRESENCE: type: unavailable from: null show: away status: null
Original comment by vruiz.ju...@gmail.com
on 24 Apr 2008 at 7:20
I think maybe is normal... but ... is not affecting 0.2.0 release... then I
change to
next Milestone to think about it...
Original comment by vruiz.ju...@gmail.com
on 27 Apr 2008 at 2:41
More logs:
[DEBUG] GWT CONNECTOR RECEIVED: <body
xmlns='http://jabber.org/protocol/httpbind'><iq
type="set" id="41-969"
to="vjrj@emitedemo.ourproject.org/emiteui-1210830566660-r472-57"><query
xmlns="jabber:iq:roster"><item jid="testunknownjid" name="testunknownname"
ask="subscribe" subscription="none"/></query></iq></body>
[DEBUG] Dispatching: com.calclab.emite.client.core.packet.gwt.GWTPacket@5a
[DEBUG] DISPATCH BEGINS >>>>>>>>>>>
[DEBUG] Dispatching: com.calclab.emite.client.core.packet.gwt.GWTPacket@5b
[DEBUG] Dispatching: <event xmlns="emite:event" type="connection:do:send"><iq
xmlns="jabber:client" type="result" id="41-969" /></event>
[INFO] Updating roster item: testunknownjid, name: testunknownname, subsc: none
[INFO] PRESENCE: type: unavailable, ***from: null***, show: away, status: null
(procesed after RosterChanged or RosterItemChanged)
I think is not affecting (I hope) ... but I think will be a normal case of use
(somebody entering some invalid jid).
Original comment by vruiz.ju...@gmail.com
on 15 May 2008 at 6:27
I was adding some test to try to close this bug, but I think that have no sense
to
try to fix that. Is very related with issue #31, and fixing #31, this will be
fixed
or a totally different issue (if already exist).
Original comment by vruiz.ju...@gmail.com
on 15 May 2008 at 7:01
The null is from RosterItem trying to set a default Presence to new items:
public void setPresence(final Presence presence) {
if (presence == null) {
Log.warn("Setting presence to unavailable-away (remove this log when bug
fixed)");
this.presence = new Presence(Type.unavailable, null, null).With(Show.away);
} else {
this.presence = presence;
}
}
Now this is harmless... but ...
Original comment by vruiz.ju...@gmail.com
on 16 May 2008 at 9:52
Postponed
Original comment by vruiz.ju...@gmail.com
on 28 May 2008 at 11:22
Original comment by vruiz.ju...@gmail.com
on 3 Feb 2009 at 5:38
Old issue, probably solved
Original comment by danigb
on 24 Aug 2010 at 7:53
Original issue reported on code.google.com by
vruiz.ju...@gmail.com
on 23 Apr 2008 at 6:24