Uploaded image for project: 'Openfire'
  1. Openfire
  2. OF-1087

Monitoring plugin gives invalid responses

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.10.3, 4.0.0, 4.0.1
    • Fix Version/s: 4.0.2, 4.1.0
    • Component/s: BOSH, Plugins
    • Labels:
      None

      Description

      Results returned by the monitoring plugin should not have two namespace declarations:

      <body xmlns="http://jabber.org/protocol/httpbind" ack="8250195">
       
        [previous 7 messages]
       
        <message xmlns="jabber:client" to="xmpp_1@mydomain/web">
             <result xmlns="urn:xmpp:mam:0" id="238">
                  <forwarded xmlns="urn:xmpp:forward:0">
                       <delay xmlns="urn:xmpp:delay" stamp="2016-02-14T02:09:59.073Z"/>
                       <message xmlns="" to="xmpp_1@mydomain" type="chat" from="xmpp_526@mydomain/65wiba29w4">
                            <body>test message</body>
                            <active xmlns="http://jabber.org/protocol/chatstates"/>
                       </message>
                  </forwarded>
             </result>
        </message>
        <message>
             <fin xmlns="jabber:client"  xmlns="urn:xmpp:mam:0" complete="true">
                  <set xmlns="http://jabber.org/protocol/rsm">
                       <first index="0">231</first>
                       <last>238</last>
                       <count>8</count>
                  </set>
             </fin>
        </message>
      </body>
      

      The problem appears to be introduced in 3.10.3 (3.10.2 did not have the problem with the same plugin version - 1.4.7)

      Not only does the child element of the last message stanza have two namespace declarations, the last message stanza itself does not have any. The forwarded message stanza has an empty xmlns delcaration.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                guus Guus der Kinderen
                Reporter:
                guus Guus der Kinderen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: