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

XWikiDocument#getChildrenReferences() ignores the given limit and offset

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1
    • Fix Version/s: 5.2-milestone-1
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: