You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Nicolas Bouillon (JIRA)" <ji...@apache.org> on 2011/09/23 14:52:26 UTC

[jira] [Updated] (TAP5-1662) onActivate is called twice when return is a TextStreamResponse

     [ https://issues.apache.org/jira/browse/TAP5-1662?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Bouillon updated TAP5-1662:
-----------------------------------

    Affects Version/s: 5.1.0.5

Affects also 5.1.0.5.

> onActivate is called twice when return is a TextStreamResponse
> --------------------------------------------------------------
>
>                 Key: TAP5-1662
>                 URL: https://issues.apache.org/jira/browse/TAP5-1662
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>    Affects Versions: 5.3, 5.2.6, 5.1.0.5
>            Reporter: Nicolas Bouillon
>
> This simple page print 2 times "ACTIVATE" on the console when calling the page "/stream."
> package tapestry.pages;
> import org.apache.tapestry5.util.TextStreamResponse;
> public class Stream {
>     public Object onActivate() {
>         System.out.println("ACTIVATE");
>         return new TextStreamResponse("text/plain", "Blabla");
>     }
> }

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira