Uploaded image for project: 'Smack'
  1. Smack
  2. SMACK-308

Multiple errors in pubsub GetItemsRequest

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.2.0
    • Component/s: Extensions
    • Labels:
      None

      Description

      1. org.jivesoftware.smackx.pubsub.GetItemsRequest constructor GetItemsRequest(String nodeId, String subscriptionId, int maxItems) the local variable maxItems is never set to the argument maxItems.
      2. in toXml, in the block if (getSubscriptionId() != null) the xml should not be ended - builder.append("'/>"); should be builder.append("' ");
      3. in toXml, in the block if (getMaxItems() > 0) the xml should not be ended - builder.append("'/>"); should be builder.append("' ");

        Attachments

          Activity

            People

            Assignee:
            rcollier Robin Collier
            Reporter:
            rcollier Robin Collier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: