orbeon / orbeon-forms

Orbeon Forms is an open source web forms solution. It includes an XForms engine, the Form Builder web-based form editor, and the Form Runner runtime.
http://www.orbeon.com/
GNU Lesser General Public License v2.1
518 stars 220 forks source link

FB: Non-relevant controls in section template not showing in form using the section template #2625

Open avernet opened 8 years ago

avernet commented 8 years ago

To reproduce, in Form Builder, create a/library with one field, set the visibility of the field to false(), publish.

In Form Builder, create a/a, add the section template, and notice how the field isn't shown. This is inconsistent with fields of regular sections, which do show even when non-relevant at design time.

ebruchez commented 8 years ago

Also check what happens with validation.

ebruchez commented 8 years ago

So the issue here is not huge: it's one of consistency. Usually at design-time, we don't run relevance, validation, etc. But there the relevance in the section template runs.

It's probably that annotate.xpl only rewrites @relevant etc. on the main model.