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

Blob still shows as uploaded in UI when batch has been dropped

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.7, 2021.49
    • Component/s: Dataviz
    • Release Notes Summary:
      File uploaded in creation form doesn't disappear in case of validation error.
    • Backlog priority:
      700
    • Sprint:
      nxplatform #104
    • Story Points:
      5

      Description

      If you try to create a document through the UI where a file is attached/uploaded and an error occurs (server-side), the batch is dropped (meaning the file is dropped) but the UI still shows file as uploaded.

      Steps to Reproduce:

      • install the attached Marketplace package in a 2021 Nuxeo instance (nuxeoctl mp-install WEBUI-XXXX-package-1.0.0.zip)
      • log in using a Chrome browser
      • create a document of type WEBUI-XXXX:
        • set field Title to WEB-XXXX-1
        • set field Ent Description to "test ", make sure it has a trailing whitespace
        • add/upload a file
        • click the CREATE button
        • Notice that the uploaded file still shows in the UI
        • Correct the error by removing the trailing whitespace
        • Click the CREATE button again

      Expected result: Document is created with all populated fields from creation form (including the blob)
      Actual result: The document is created but without main blob

      Note: Please change to NXP if the issue is for the platform team.

       

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: