New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XPath error when relinquishing lease with form using a wizard #3566

avernet opened this Issue Apr 20, 2018 · 1 comment


2 participants

avernet commented Apr 20, 2018

To reproduce, load the /edit page of a form using the wizard, logged in and with the lease enabled, and click on the "Relinquish lease" button. The orbeon.log will have the following error: Undeclared variable in XPath expression: $relevant-top-level-section-ids.

+1 from customer


This comment has been minimized.


ebruchez commented Apr 20, 2018

The issue appears because, when the lease is relinquished, the entire fr-form-group, andf so the wizard, are made non-relevant. This dispatches xforms-disabled events. Then, inside the wizard, this handler runs:

<xf:action event="xforms-value-changed xxforms-constraints-changed xforms-disabled" xxf:phantom="true">
    <xf:dispatch name="fr-update-section-status" targetid="fr-wizard-outer-group"/>

It runs ok, except that fr-update-section-status is in a contest where xf:vars are non-relevant and so considered missing. Fixing #134 would help here.

@ebruchez ebruchez closed this in 6c0cb27 Apr 24, 2018

@ebruchez ebruchez added this to Done in Orbeon Forms 2018.1 via automation Apr 24, 2018

@ebruchez ebruchez added this to Done in Orbeon Forms 2017.2.2 via automation Apr 24, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment