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

api.XWiki.wrapDocs iterates the wrong list

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B1
    • Fix Version/s: 1.0 B2
    • Component/s: {Unused} APIs
    • Labels:
      None
    • Similar issues:

      Description

      for(Iterator iter = result.iterator(); iter.hasNext()

      'result' is an empty list which should be returned. The correct list to iterate is 'docs';

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                sdumitriu Sergiu Dumitriu
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: