Initialization of linkZone and zone is order dependent & can fail
-----------------------------------------------------------------

                 Key: TAPESTRY-2369
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2369
             Project: Tapestry
          Issue Type: Bug
          Components: tapestry-core
         Environment: Java 1.5, Jboss 4.2, Windows XP
            Reporter: Ben Sommerville
            Priority: Minor
             Fix For: 5.0.12


The Tapestry.init function is used to initialize zones and links to zones.    
The linkZone init function has a dependency on the zone init function (because 
it assumes that the zone element/object has been created).
The code that creates the init call has no mechanism for specifying the order 
in which init functions are called.  The final order will depend on the 
ordering of the init function hash map. i.e. indeterminate.    

When running the tapestry tests via maven and Jetty the zone init works.  
Running the same code under JBoss the order of the zone & linkZone init calls 
is reversed, leading to the linkZones not working.


-- 
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