Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12950

rich:fileUpload is not consistent with already uploaded files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.7.3-SNAPSHOT
    • Fix Version/s: 5.8
    • Component/s: File Upload , Seam / JSF UI

      Description

      Step to reproduce:

      • Create a File document
      • Go to Files tab
      • Upload at least one file but don't click on "Stored uploaded files"
      • press F5 to refresh your page
      • See that the list of files that are uploaded is empty (like if you did not upload anything)
      • Click "Stored uploaded files"

      The file you previously uploaded but which did not appear in the rich:fileUpload was saved and attached to the document. This is tricky because the user could attach some files he didn't know about.

      To fix this we should simply change the scope of org.nuxeo.ecm.webapp.filemanager.UploadItemHolder from CONVERSATION to PAGE.

      @Name("fileUploadHolder")
      @Scope(ScopeType.PAGE)
      public class UploadItemHolder implements Serializable {
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: