Hi there, 
        
The issue MR-ISSUE-528 was just created by Dan Ports (danports).
        
        Key: MR-ISSUE-528
        Summary: CaptureFor in subview overwrites value set before subview 
called
        Type: Bug
        Importance: Medium
        
        Description:
        Here's a simple test case (against trunk/r5608):
a.brail:
<% component CaptureFor, {...@id: 'test', @append: 'after'}: %>1<% end %>
<% OutputSubView('b') %>
${test}
b.brail:
<% component CaptureFor, {...@id: 'test', @append: 'after'}: %>2<% end %>
The output of a.brail will be "2" rather than "12".
The problem is that BrailBase.InitProperties(), which copies values from the 
parent view, is called before BrailBase.SetParent() in 
BrailBase.OutputSubView(), so effectively parent.Properties never gets copied 
into the subview Properties collection.
        
For more, see 
http://support.castleproject.org/projects/MR/issues/view/MR-ISSUE-528
 
        
--
donjon
by Castle Stronghold
http://www.castle-donjon.com



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Development List" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/castle-project-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to