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

FileUploadPlugin should not call cleanFileList in endRendering

    XMLWordPrintable

    Details

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

      Description

      Currently the FileUpload plugin cleans the file list in endRendering. This can empty the list after the first rendering (this happens in $doc.getDisplayTitle() in the albatross skin).
      We need to rely on XWikiAction to clean up the file upload plugin list.

      Also loadFileList should check if the list was already loaded and stop if so.

        Attachments

          Activity

            People

            Assignee:
            ludovic Ludovic Dubost
            Reporter:
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: