Evaluation bug in tree appearance widget

已查看 38 次
跳至第一个未读帖子

Alexander Henket

未读,
2019年4月13日 00:36:312019/4/13
收件人 Orbeon Forms
Hi. Based on Orbeon 2018.01 CE:

We have an issue using the "appearance="tree tree-plus-minus"" onder xf:select1 when it is in a dialog. I've added a reproduction form here.

The phenomenon: the dialog will continue to show and work with the tree it has in its instance when it opened the very first time after the form was loaded, regardless of changes in that instance, for as long as you work with the same form.

Any changes in the instance under xf:select1/xf:itemset are not evaluated for display/logic. The xforms-inspector however has exactly what you expect in the instance.

Hope you can issue an update for this tricky issue.

Best regards

Alexander Henket
dialogtester.xhtml

Alexander Henket

未读,
2019年4月15日 04:10:482019/4/15
收件人 Orbeon Forms
I've improved readability of the reproduction form a little. You can now see how the main body updates as the items updates, while the dialog does not
dialogtester.xhtml

Alessandro Vernet

未读,
2019年4月15日 14:46:132019/4/15
收件人 orb...@googlegroups.com
Thank you for the updated example Alexander. Erik will follow-up with you on
this, since he's very familiar with that particular code.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

hen...@nictiz.nl

未读,
2019年5月1日 10:39:552019/5/1
收件人 Orbeon Forms
My return for a friendly reminder :-) Any news?

Erik Bruchez

未读,
2019年5月17日 18:11:042019/5/17
收件人 orb...@googlegroups.com
Alexander,

I apologize for missing this message. We will plan to have a look during the
coming week.

-Erik

Alexander Henket

未读,
2019年5月28日 06:27:122019/5/28
收件人 Orbeon Forms
Hi. Any news? We have discovered more and more places where this issue hurts us so we need to make a decision. Revert to 3.9 where the old tree still existed or patch the 2018 release.

Erik Bruchez

未读,
2019年5月29日 02:44:582019/5/29
收件人 orb...@googlegroups.com
I am sorry no news yet. But we understand the urgency. We will do our best to
look at this on Wednesday this week.

Regards,

Erik Bruchez

未读,
2019年5月29日 12:47:092019/5/29
收件人 orb...@googlegroups.com
Here is an update:

- I reproduce the problem with Orbeon Forms 2018.1.1 CE
- I do NOT reproduce the problem with Orbeon Forms 2018.2.1 CE

There are two choices:

- On our side: figure out which change between these two versions fixes the
problem.
- On your side: try out Orbeon Forms 2018.2.1 CE.

Alexander Henket

未读,
2019年5月30日 11:17:452019/5/30
收件人 Orbeon Forms
I've checked on my machine what happens with 2018.2.1. The dialogtester.xhtml page now works as expected, but unfortunately the rest of the application breaks in a different way. I get the generic Orbeon Forms error in view. The log reads:

2019-05-30 17:12:47,794 ERROR PageFlowControllerProcessor  - 
+----------------------------------------------------------------------------------------------------------------------+
|An Error has Occurred                                                                                                 |
|----------------------------------------------------------------------------------------------------------------------|
|XPath syntax error at char 116 in {... .}:                                                                            |
|    Cannot find a matching 1-argument function named {http://orbeon.org/oxf                                           |
|/xml/form-runner}component-param-value()                                                                              |

I've checked our code, and all readable files in the war file, but we do not explicitly call that function. I'm not sure what to do next with this.

Alexander Henket

未读,
2019年5月30日 11:29:032019/5/30
收件人 Orbeon Forms
The error above came from our main project page. I ran a couple of other pages. All run at least so the problem is apparently confined into something special on the project form. However: on other forms all fr:accordeon widgets initialize as "open" even though they should have been closed, and I cannot close them.

I've extended the dialog tester to include an accordeon that should demonstrate what I see.
dialogtester.xhtml

Alexander Henket

未读,
2019年6月4日 03:50:072019/6/4
收件人 Orbeon Forms
I've managed to bring the inability to load my project form in Orbeon 2018.2.1 down to fr:error-summary. It may not be the only thing that triggers the page load failure, but at least it triggers the same error. Attached a reproduction page

2019-06-04 09:45:43,887 ERROR PageFlowControllerProcessor  - 
orbeon2018.2.1-does-not-load.xhtml

Alexander Henket

未读,
2019年6月5日 02:46:212019/6/5
收件人 Orbeon Forms
I've flagged https://github.com/orbeon/orbeon-forms/issues/4079 for the form load problem in Orbeon 2018.2.1
回复全部
回复作者
转发
0 个新帖子