When a file is not uploaded, the upload field throws a validation error, even if it is not required


  • The form is not submitted correctly
    Steps to reproduce:
    1) Create an object with the text field required
    2) Create an object with an upload field NOT REQUIRED
    3) Create a new content page
    4) Add a Form container
    4.a) Map it to the object created before
    5) Add a text field
    5.a) Map it to the text field
    6) Add an upload field
    6.a) Map it to upload the field
    7) Add submit button
    8) Save and publish
    9) Access the form
    10) Enter something in the text field
    Observed Behavior: A validation error is shown and the form is not submitted.
    Document: Please enter a file with a valid extension (pdf)
    Expected Behavior: The form is submitted correctly.


  • Liferay DXP 7.4


  • The observed behavior is a known DXP bug which is addressed in DXP 7.4 update 35.

Additional Information

0 人中有 0 人觉得有帮助