sbo

Item not saved with server side validation errors and attachment

Discussion created by sbo on Sep 20, 2018
Latest reply on Sep 21, 2018 by Тарас_Lozynskyy

We noticed that under the following circumstances, the form closes and returns to the list without saving the item.

 

Steps to reproduce:

  1. Create a new custom list
  2. Add a number field that is required
  3. Add Rich Forms for New item creation
  4. Ensure the Attachments field is in the form
  5. Save the Rich Form and create a new item
  6. Fill in the title and the number fields and add an attachment
  7. Save the item
  8. The form closes and redirects to the List, but no item has been created

 

Here's a short video that demonstrates the behavior:

 

If no attachment is added, then validation works as expected and the form shows the server side validation errors.

Outcomes