Fix infinite recursion with Delivery_viewSolveDivergenceDialog. Do not enable...

Fix infinite recursion with Delivery_viewSolveDivergenceDialog. Do not enable (and so, do not try to validate) the solver configuration formbox if there is no solver.

Also make changes to make these kinds of errors easier to diagnose by having an explicitly invalid value as a fallback when the TALES expression fails.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44142 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a78cc7bc
......@@ -94,12 +94,14 @@
</item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>enabled</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
......@@ -109,7 +111,7 @@
<item>
<key> <string>formbox_target_id</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
......@@ -157,7 +159,7 @@
</item>
<item>
<key> <string>formbox_target_id</string> </key>
<value> <string>Solver_viewConfiguration</string> </value>
<value> <string>Delivery_viewSolveDivergenceDialog_form_id_should_come_from_TALES</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
......@@ -187,6 +189,19 @@
</pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>cell/getSolver</string> </value>
</item>
</dictionary>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="TALESMethod" module="Products.Formulator.TALESField"/>
</pickle>
......
......@@ -155,7 +155,7 @@
</item>
<item>
<key> <string>formbox_target_id</string> </key>
<value> <string>Solver_viewConfiguration</string> </value>
<value> <string>Solver_viewConfiguration_form_id_should_come_from_TALES_override</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
......
This business templates contains abstract tools which are requires by all business templates based on the concept of Simulation.
\ No newline at end of file
This business templates contains abstract tools which are required by all business templates based on the concept of Simulation.
\ No newline at end of file
149
\ No newline at end of file
150
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment