Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.1.0.5
-
None
Description
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.
Attachments
Issue Links
- is cloned by
-
TAP5-1284 When using @PageActivationContext and override a no-args activate event handler of parent page, the handler called too soon
- Resolved