Part of a webflow is used to download a zip file when the user clicks on the "download" button on the manage download page. Once the button is pushed the user would get a dialog box (Windows) to saveAs or open the file. The 'download' action just sets the response headers and file content in the outputstream. In webflow 1.0.5 it was defined as follows:

Code:
<view-state id="manageDownloadPage" view="managePage">
    <transition on="download" to="downloadFile"/>
</view-state>

<view-state id="downloadFile">
    <render-actions>
        <action bean="manageDownloadForm" method="download"/>
    </render-actions>
    <transition on="success" to="manageDownloadPage"/>
</view-state>

During the upgrade from webflow 1.0.5 to 2.0.3 I used the webflow 2 Flow Definition Updater Tool which transformed my webflow 1.0.5 into the following:

Code:
<view-state id="manageDownloadPage" view="managePage">
    <transition on="download" to="downloadFile"/>
</view-state>

<view-state id="downloadFile">
    <on-render>
        <evaluate expression="manageDownloadForm.download"/>
    </on-render>
    <transition on="success" to="manageDownloadPage"/>
</view-state>

Now the user still gets the file, but I also get an exception in the log file:

Code:
[DEBUG] .springframework.web.servlet.view.tiles2.TilesView  : 347 : Removed model object 'currentUser' from request in view with name 'downloadFile'
[WARN ] org.apache.tiles.impl.BasicTilesContainer           : 392 : Unable to find the definition 'downloadFile'
[DEBUG] ingframework.webflow.engine.impl.FlowExecutionImpl  : 588 : Attempting to handle [org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'downloadFile' of flow 'manageDownload-flow'] with root cause [org.apache.tiles.definition.NoSuchDefinitionException: downloadFile]
[DEBUG] ingframework.webflow.engine.impl.FlowExecutionImpl  : 605 : Rethrowing unhandled flow execution exception
[DEBUG] onversation.impl.SessionBindingConversationManager  :  99 : Unlocking conversation 5
[DEBUG] org.springframework.web.servlet.DispatcherServlet   : 588 : Could not complete request
org.springframework.webflow.execution.FlowExecutionException: Exception thrown in state 'downloadFile' of flow 'manageDownload-flow'
	at org.springframework.webflow.engine.impl.FlowExecutionImpl.wrap(FlowExecutionImpl.java:568)
	at org.springframework.webflow.engine.impl.FlowExecutionImpl.resume(FlowExecutionImpl.java:267)
	at org.springframework.webflow.executor.FlowExecutorImpl.resumeExecution(FlowExecutorImpl.java:153)
	at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:173)
	at org.springframework.webflow.mvc.servlet.FlowController.handleRequest(FlowController.java:172)
	at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:48)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:875)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:809)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:571)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:501)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)

I looks like the new webflow is trying to use the view-state id to find a view (a tiles definition in this case). I have a transition on success to a valid view, but it is ignored.

What is the proper way to handle this situation in webflow 2?