[Bug 888] New: Transition program incorrectly executed on both if and else paths

http://bugs.orocos.org/show_bug.cgi?id=888

Summary: Transition program incorrectly executed on both if and
else paths
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: Mac OS X
Status: NEW
Severity: normal
Priority: P3
Component: Scripting
AssignedTo: orocos-dev [..] ...
ReportedBy: kiwi [dot] net [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

In the following, someFunc() is called if someCondition() is true or if it is
false (ie on both if and else paths)
{{{
transition if someCondition() then {
do someFunc()
} select STATE2
else select STATE
}}}

Adding an empty or actual else program corrects the behaviour. This works as
intended.
{{{
transition if someCondition() then {
do someFunc()
} select STATE2
else {
do someOtherFunc()
} select STATE
}}}

And this works as intended.
{{{
transition if someCondition() then {
do someFunc()
} select STATE2
else {
} select STATE
}}}