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

Use more applicable error when anonymous user tries to obtain a roster

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.2
    • Component/s: None
    • Labels:
      None

      Description

      When an anonymous user tries to interact with a roster (which anonymous users do not have), an error should be (and is) returned:

      SENT: <iq id='1dfTY-60' type='set'><query xmlns='jabber:iq:roster'><item jid='john@example.org' name='John' subscription='none'></item></query></iq>
      RECV: <iq type="error" id="1dfTY-60" to="1qr03gr14@igniterealtime.org/1qr03gr14">
        <query xmlns="jabber:iq:roster"><item "john@example.org" name="John" subscription="none"/></query>
        <error code="500" type="wait"><internal-server-error xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error>
      </iq>

      internal-server-error / wait is not an appropriate error. A more appropriate error should be returned.
       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: