Infinite loop when returning current page instance from onActivate using "this"
-------------------------------------------------------------------------------

                 Key: TAPESTRY-2598
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2598
             Project: Tapestry
          Issue Type: Bug
    Affects Versions: 5.0.14
            Reporter: Vjeran Marcinko


This kind of activate handler goes into infinite loop:

Object onActivate() {
     System.out.println("This is looping infinitely ...");
     return this;
 }

Returning "null" instead of "this" works OK. It's stated in docs that "null" 
should be used when wanting to direct to current page, but nevertheless, "this" 
shouldn't trigger infinite loop.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to