When using @PageActivationContext and override a no-args activate event handler 
of parent page, the handler called too soon
---------------------------------------------------------------------------------------------------------------------------

                 Key: TAP5-1284
                 URL: https://issues.apache.org/jira/browse/TAP5-1284
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
    Affects Versions: 5.1.0.5
            Reporter: Alexander Gavrilov
            Assignee: Howard M. Lewis Ship
             Fix For: 5.2.1


It appears that the onActivate() method is called before the 
@PageActivationContext logic, which means the following can fail:

@PageActivationContext
private MyEntity entity;

void onActivate()
{
  if (entity == null) throw new RuntimeException("Entity not found.");
}

The RuntimeException is thrown even when a valid Entity is in the page 
activation context.

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

Reply via email to