sidewinderlabs / backplanejs

Other
12 stars 3 forks source link

Recursive dependency structure does not fire xforms-compute-exception #77

Closed backplane-import closed 13 years ago

backplane-import commented 13 years ago

Imported from backplanejs Google Code issue 77.

Reporter fdintino
Date 20 Jul 2010 10:25:44 PM UTC

According to XForms 1.0 Appendix D.3:

If the pertinent dependency subgraph contains vertices, but none have an inDegree of 0, then the calculation structure of the form has a loop, and an exception (4.5.4 The xforms-compute-exception Event) must be thrown, terminating processing.

Instead, an exception is thrown with the message "xforms-compute-exception: Recursive calculation structure detected." Although loops are correctly detected and processing is terminated, the exception is caught farther up in the call stack and never fires an event.


Owner set to fdintino

Priority: Medium Type: Defect

backplane-import commented 13 years ago

Comment by fdintino on 20 Jul 2010 10:26:48 PM UTC

Wow, it really mangled the URLs. My apologies.

backplane-import commented 13 years ago

Comment by markbirbeck on 21 Jul 2010 3:11:37 PM UTC

A fix is available at:

http://code.google.com/r/fdintino-backplanejs/source/detail?r=81adcaf68ab0ef6a0490df2eee63e99618634574


Updates

Ticket status set to FixPending

Module: XForms Component: Logic

backplane-import commented 13 years ago

Comment by fdintino on 21 Jul 2010 3:47:30 PM UTC

This issue was closed by revision 9657776477d69b4e3cd6569bcb7a0994621c3960 (originally 5a77cb0abf).


Updates

Ticket status set to Fixed