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

Fix nxu:inputFile postback when placed after an immediate field with a validation error

    XMLWordPrintable

    Details

    • Team:
      AT
    • Sprint:
      nxNag Sprint 7.4.5, nxAT Sprint 8.1.2, nxAT Sprint 8.1.3, nxAT Sprint 8.1.4
    • Story Points:
      5

      Description

      Steps to reproduce:

      • on a File-like document, add a required select2 (like the "nature" widget) before the field upload
      • create a document, do not fill the required select2, and chose a file
      • submit
        => the upload radio button is still checked but uploaded file is lost.

      Instead, the "keep" button should be checked and uploaded file shown.

      Note pb does not appear when producing a validation error on the "title" field.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: