[JDEV] Follow-up: 1.4 BUG REPORT: 'ask' attribute missing in roster item

Robert Temple robert.temple at dig.com
Sun Mar 11 20:47:54 CST 2001


Last month I posted a report of a bug in 1.4 and never heard anything 
back.  I'm wondering if anyone on the server team read about this bug 
and fixed or plans to fix it.  I'll repost it below:

In the 1.2 server, I could count on the ask attribute of roster 
items being returned from the server.  But now in 1.4, the ask 
attribute only reliably comes back in the roster item when 
I send a presence subscription message to someone.

For example, say I have a item on my roster, "foo at org", and I
am currently in the ask="subscribe" state to that user.

If I send a message to change groups around like this:
<iq type="set">
 <query xmlns="jabber:iq:roster">
  <item jid="foo at org">
    <group>FooGroup</group>
  </item>
 </query>
</iq>

In 1.2 I would get back something like:
<iq type="set">
 <query xmlns="jabber:iq:roster" subscription="none" ask="subscribe">
  <item jid="foo at org">
    <group>FooGroup</group>
  </item>
 </query>
</iq>

But now in 1.4, I get back something like:
<iq type="set">
 <query xmlns="jabber:iq:roster">
  <item jid="foo at org" subscription="none">
    <group>FooGroup</group>
  </item>
 </query>
</iq>

I am counting on that "ask" attribute coming back consistently.
-Robert





More information about the JDev mailing list