We have a navigation menu at the top of our application. If you select a menu option, the current conversation is ended (before redirect) and a new one is started after redirecting to the page associated with the menu option.
We have found an issue in the case where we are in one conversation that has a DataModelSelection of say type X. If we click a menu item that sends you to another screen ( ending the current conversation before redirect ) and that screen also has a DataModelSelection associated with it of a different type ( say Y ) a ClassCastException is thrown.
I can't see how this can happen since we are ending the current conversation before redirecting to the new one. What scope does the DataModel/Selection use?