Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Problem with fr:databound element after updating Orbeon from orbeon-2021.1.9.202306062351-PE to orbeon-2023.1.2.202404262103-PE

35 views
Skip to first unread message

Jaanus T

unread,
Sep 16, 2024, 10:34:54 AM9/16/24
to Orbeon Forms
Hello,
After updating Orbeon my form containing fr:databound1 element is not working.
I have following code:
<fr:databound-select1 ref="maakond" resource="/ads/0/0/0">
<xforms:itemset nodeset="/items/item[@tase='1']">
<xforms:label ref="@label"/>
<xforms:value ref="@value"/>
</xforms:itemset>
</fr:databound-select1>

<fr:databound-select1 ref="vald" resource="/ads/0/{../maakond}/1">
<xforms:itemset nodeset="/items/item[@tase='2']">
<xforms:label ref="@label"/>
<xforms:value ref="@value"/>
</xforms:itemset>
</fr:databound-select1>

I have discovered that problem is with resource="/ads/0/{../maakond}/1"  if I hardcode value to {../maakond}  , then it starts working. Could it be related to update regard async to databound?
Do you have any ideas how could I solve this issue?

Jaanus

Alessandro Vernet

unread,
Sep 16, 2024, 12:49:15 PM9/16/24
to orb...@googlegroups.com
Hi Jaanus,

Could you please try this again with version 2023.1.4 to ensure you have all the latest fixes? If you're still experiencing the issue with that version, would you be able to share a minimal example that we can use to reproduce the problem locally?

-Alex

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orbeon+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/5740c3c7-de03-4071-9eb5-1d770d6bbc61n%40googlegroups.com.

Jaanus T

unread,
Sep 27, 2024, 12:22:20 PM9/27/24
to Orbeon Forms
Hello,
Now we tried to migrate to latest version and problem is still there. Error:
 Exception: java.util.NoSuchElementException

 In meantime we actually had solution for the 1.2 version:
fr:databound-select1 ref="vald" resource="/ads/0/{if(../maakond eq '') then 0 else ../maakond}/1">
With newer version this also do not work.

Jaanus

Alessandro Vernet

unread,
Sep 28, 2024, 3:19:19 AM9/28/24
to orb...@googlegroups.com
Hi Jaanus,

The behavior you describe doesn't remind me of any issue I'm familiar with or can recall at the moment. Could you create and share a minimal form using a publicly available service, so we can reproduce the issue locally?

-Alex

Alessandro Vernet

unread,
Oct 5, 2024, 5:42:14 PM10/5/24
to orb...@googlegroups.com
Hi Jaanus,

Have you had a chance to investigate this issue further and determine what caused the `java.util.NoSuchElementException`? If not, or if you haven't found anything yet, would it be possible for you to create a minimal example that reproduces the problem?

-Alex
Reply all
Reply to author
Forward
0 new messages