Yeah, that looks wrong.
As why should item's whenRequired have anything to do with dependency's state.
I think it should be
| ControllerState requiredState = item.getDependentState();
| if (actualState == null || states.isBeforeState(actualState,
requiredState))
|
But this breaks a few tests, hence I need to check if I'm really thinking straight.
:-)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4242914#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...