[JDEV] MUC problems...
David Sutton
jabber at dsutton.legend.uk.com
Sun Jun 8 08:54:03 CDT 2003
Hi Mats,
I will look into these, however I need a little more information from
you. Can you show me the full xml sent and received when you are
changing room options. By the sounds of things, your request to change
the options is being ignored. Also, try running the jabberd MUC is
connected to in debug mode (-D command line switch). There will be clues
in the output from there too.
Regarding the error message (point 3). I know that MU-Conference
breaks the specifications in this respect, however this is for a reason.
The MUC protocol allows you to send multiple item requests in a single
query. Imagine the situation where you send 4 items, but three of them
are incorrect in different ways (i.e. trying to kick a non-existant
user, demote a room owner, etc) With the current schema, you only have
room for one error message, despite there being 3 different errors. I've
already brought this up with Peter Saint-Andre and he is looking into
it. The whole error system needs an overhaul anyway as it needs both
the jep and the implementation to use the new style error messages. As
soon as that is in place, I will rewrite MU-Conference to use them.
Regards.
David
On Sun, Jun 08, 2003 at 08:26:56AM +0200, Mats Bengtsson wrote:
>
> Hi all,
>
> During the implementation of the MUC stuff (0.5.2) (jabberd 1.4.2)
> in my client (coccinella.sourceforge.net) I have encountered several
> issues that seem to be bugs, or is just a misunderstanding.
> Reference: JEP Version 1.4
>
>
> 1: Setting the
> <field var='title'><value>The Rooms Name</value></field>
> attribute while creating the room does not set the rooms title
> as seen when browsed.
>
> 2: Even rooms created as persistent are destroyed after some period (5-10 minutes?)
>
> 3: The <error/> elements are sent as child of the <item/> element
> which seems not to be in accordance with MUC's DTD:
>
> JEP Version 1.4, Example 52:
>
> <iq type='error' from='darkcave at macbeth.shakespeare.lit'
> to='wiccarocks at shakespeare.lit/laptop' id='kicktest'>
> <query xmlns='http://jabber.org/protocol/muc#admin'>
> <item nick='firstwitch' role='none'>
> <reason>Be gone!</reason>
> </item>
> </query>
> <error code='405'>Not Allowed</error>
> </iq>
>
> While the MUC compoenent returns:
>
> RECV: <iq type='error' id='1012' to='matben at localhost/coccinella' from='mats at conference.localhost'>
> <query xmlns='http://jabber.org/protocol/muc#admin'>
> <item nick='stt' role='none'>
> <error code='403'>Forbidden Kick request against admin</error>
> </item>
> </query>
> </iq>
>
> 4: A room created as secret still allows any user to enter ???
> <field var='secret'><value>xyz</value></field><field var='privacy'><value>1</value>
>
> 5: When the owner wants to configure a room after it is created, the returned
> form does not have the default values the room was created with.
>
> 6: It is not possible to obtain list of role/affiliation items; all lists
> are empty!
> SEND: <iq type='get' id='1014' to='secret at conference.sgi.se'><query
> xmlns='http://jabber.org/protocol/muc#admin'><item role='participant'/></query></iq>
> RECV: <iq type='result' id='1014' to='matben at sgi.se/coccinella'
> from='secret at conference.sgi.se'><query xmlns='http://jabber.org/protocol/muc#admin'/></iq>
>
>
> Any idees anyone?
>
> /Mats
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev
--
David Sutton
Email: dsutton at legend.co.uk
Jabber: peregrine at legend.net.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20030608/2ab43967/attachment-0002.pgp>
More information about the JDev
mailing list