Return-Path: X-Original-To: apmail-tapestry-commits-archive@minotaur.apache.org Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCF5F17C85 for ; Wed, 30 Sep 2015 12:34:10 +0000 (UTC) Received: (qmail 28254 invoked by uid 500); 30 Sep 2015 12:34:04 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 28214 invoked by uid 500); 30 Sep 2015 12:34:04 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 28204 invoked by uid 99); 30 Sep 2015 12:34:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Sep 2015 12:34:04 +0000 Date: Wed, 30 Sep 2015 12:34:04 +0000 (UTC) From: "Jochen Kemnade (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAP5-2508) Page activation method not always called since t54-beta33 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TAP5-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936781#comment-14936781 ] Jochen Kemnade commented on TAP5-2508: -------------------------------------- Yes, that commit message seemed slightly suspicious to me too. [~fscheffer], do you think there might be a relation? > Page activation method not always called since t54-beta33 > --------------------------------------------------------- > > Key: TAP5-2508 > URL: https://issues.apache.org/jira/browse/TAP5-2508 > Project: Tapestry 5 > Issue Type: Bug > Affects Versions: 5.4 > Reporter: Chris Poulsen > Attachments: t54-activate.zip > > > Hi, > I decided to try upgrading an app from t54-beta-26 to the latest public beta. Most things seem to work, but I noticed changed behavior with onActivate methods in some of our classes. > We have a base page with the following: > @OnEvent( ACTIVATE ) > void activate( EventContext ec) > and an extending page with: > @OnEvent( ACTIVATE ) > Object activate( EventContext ec ) > In beta-26 (and before) the methods are called in the following order: > 1) Base activate > 2) Extending page activate > In beta-33 and newer only the Base activate is called. > I'm attaching a sample project where one can play with the versions and see the differences in the console when requesting the index page. > Also when creating the sample project i noticed that PageLink (to login in Layout.tml) fails if Login page is missing in beta-33 while it has no problem with pointing to a deleted page in beta-36. -- This message was sent by Atlassian JIRA (v6.3.4#6332)