Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-7356

Prevent validation of fields when uploading a file through a hippo:resource field

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 2.24.05
    • None
    • None
    • None

    Description

      Uploading a file via a hippo:resource field triggers the field validation process of other fields.

      Reproduction path:

      • Create a document type with a couple of primitive fields such as a String and mark these fields as required
      • Add a hippo:resource field to this document type.
      • Click on 'Done' and 'Commit' to finalize creation of document type
      • Create a new document of this document type and keep the primitive fields empty
      • Upload a file using the hippo:resource field.

      Expected result: The file is uploaded, the hippo:resource field is validated and no validation is performed on the other fields
      Actual result: The file is uploaded and validation is performed on the document as a whole and all other fields are also validated indicating that the required fields are empty.

      Attachments

        Activity

          People

            maartun Michaël Aartun (Inactive)
            maartun Michaël Aartun (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: