Bug in bind (re)calculation?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in bind (re)calculation?

Maciej Arciuch
Dear Orbeon authors,

I'm afraid I've spotted a bug, namely it seems that Orbeon >= 3.7.1 calculates the visibility of controls which use the bind only during form loading and does not recalculate it later.

I've prepared a reproducible example, it consists of a single drop-down choosing a value and of groups that except one of the values.

- the first group is made using @ref="my/path" and works fine, its content (dis)appears as it should,
- the second group is made using a bind which has @nodeset="my/path" (the same as in @ref of the previous group), its contents appear (and stay "forever") only if the "correct" value is present during the form loading

The example consists of two files:

http://gamma.mini.pw.edu.pl/~arciuchm/ezs.xml (with "incorrect" value in the instance, second group never appears)
http://gamma.mini.pw.edu.pl/~arciuchm/ezs2.xml (with "correct" value in the instance, second group always appears, even if it shouldn't)


You can check it out in Sandbox:

http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/ezs.xml
http://www.orbeon.com/ops/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/ezs2.xml

Is this an Orbeon bug or I simply don't understand something?

Thanks in advance, best regards, Maciej
Reply | Threaded
Open this post in threaded view
|

Re: Bug in bind (re)calculation?

Maciej Arciuch
Moreover, I've notices that it worked pretty well in Orbeon 3.6.0:

http://xmlfr.org/orbeon/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/ezs.xml (please make sure you use 3.6.0-compatible browser like Firefox 2)

Best regards, Maciej
Reply | Threaded
Open this post in threaded view
|

Re: Re: Bug in bind (re)calculation?

Alessandro  Vernet
Administrator
Maciej,

Thank you for the bug report and the test case. I was able to
reproduce it, and added a bug (linked below). You can track the bug,
and we'll post an update here as well when fixed.

http://forge.ow2.org/tracker/index.php?func=detail&aid=314456&group_id=168&atid=350207

Alex

On Wed, Nov 4, 2009 at 11:46 AM, Maciej Arciuch
<[hidden email]> wrote:

>
> Moreover, I've notices that it worked pretty well in Orbeon 3.6.0:
>
> http://xmlfr.org/orbeon/xforms-sandbox/run?url=http://gamma.mini.pw.edu.pl/~arciuchm/ezs.xml
> (please make sure you use 3.6.0-compatible browser like Firefox 2)
>
> Best regards, Maciej
> --
> View this message in context: http://n4.nabble.com/Bug-in-bind-re-calculation-tp413456p431389.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet