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.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
515 stars 221 forks source link

Crash loading form with custom XBL component #6461

Closed ebruchez closed 2 months ago

ebruchez commented 2 months ago

+1 from customer

ebruchez commented 2 months ago

Issue:

Two issues:

The control that is the destination of xforms-disabled, curiously, appears relevant.

We have a comment saying "Ideally, we would evaluate this lazily, but we use it in the pattern match below".

ebruchez commented 2 months ago

dispatchDestructionEventsForRemovedRepeatIteration() dispatches these events to controls, but they are not marked as non-relevant at this point.This is why we are not returning the non-relevant value.

Best fix would be for ErrorSummary not to try to obtain this information as it is unneeded anyway.