orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.

Home Page:http://www.orbeon.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple attachment upload event order is incorrect

ebruchez opened this issue · comments

When dropping two files on the control, we get:

  • upload 1
  • xxforms-upload-start 1
  • upload 2
  • then, combined
    • xxforms-upload-start 2
    • server events 1
    • server events 2

This is not correct, and can cause issues in particular with error messages. Events should instead follow the sequence:

  • xxforms-upload-start 1
  • upload 1
  • server events 1
  • xxforms-upload-start 2 (could be combined with previous event)
  • upload 2
  • server events 2
Screenshot 2023-05-23 at 8 52 29 AM