tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nourredine K. (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-2423) Wrong component id check whith inherited pages/components
Date Thu, 04 Dec 2014 09:36:12 GMT
Nourredine K. created TAP5-2423:
-----------------------------------

             Summary: Wrong component id check whith inherited pages/components
                 Key: TAP5-2423
                 URL: https://issues.apache.org/jira/browse/TAP5-2423
             Project: Tapestry 5
          Issue Type: Bug
          Components: tapestry-core
            Reporter: Nourredine K.


When page B inherits page A and A implements some event handler methods on some components,
displaying page B throws an TapestryException that claims that page B does not contain those
components in its template.

I think the pb occurs in the [ComponentIdValidator#validate(ComponentResources)|https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;a=blob;f=tapestry-core/src/main/java/org/apache/tapestry5/internal/transform/OnEventWorker.java;h=c640158666493ebc669ff561de25b62a9236f54a;hb=HEAD#l91]
method because, we only check in the current ComponentResource and never in its parents if
they exist.

Regards,
Nourredine.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message