Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9371

XWikiDocument#getChildrenReferences() ignores the given limit and offset

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.2-milestone-1
    • 5.1
    • Old Core
    • None
    • Unit
    • Trivial
    • N/A
    • N/A

    Description

      /**
       * Returns a list of references of all documents which list this document as their parent
       * 
       * @param nb The number of results to return.
       * @param start The number of results to skip before we begin returning results.
       * @param context The {@link com.xpn.xwiki.XWikiContext context}.
       * @return the list of document references
       * @throws XWikiException If there's an error querying the database.
       * @since 2.2M2
       */
      public List<DocumentReference> getChildrenReferences(int nb, int start, XWikiContext context) throws XWikiException
      

      nb and start are ignored.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: