to be bound to an instance of LzReplicationManager (that's what it does in trunk..)
<canvas width="100%" height="100%" debug="true">
<debug fontsize="12"/>
<dataset name="bug3036">
<m/>
<m/>
<m/>
<m/>
</dataset>
<view name="outer" datapath="bug3036:/" height="200">
<simplelayout spacing="5"/>
<view name="entry" height="20" width="100" bgcolor="blue">
<attribute name="pos" value="$path{'position()'}"/>
<datapath xpath="m" />
</view>
</view>
</canvas>
<debug fontsize="12"/>
<dataset name="bug3036">
<m/>
<m/>
<m/>
<m/>
</dataset>
<view name="outer" datapath="bug3036:/" height="200">
<simplelayout spacing="5"/>
<view name="entry" height="20" width="100" bgcolor="blue">
<attribute name="pos" value="$path{'position()'}"/>
<datapath xpath="m" />
</view>
</view>
</canvas>
In the debugger I get this warning and backtrace, which says that " outer.entry" was bound to an ReplicationManager at one point, but then
something in the instantiation queue redefines it later back to an LzView. Did the code which creates a LzReplicationManager get
moved to an earlier phase of instantiation somehow?
WARNING: Redefining #outer.entry from «LzReplicationManager#2#1| ReplicationManager in Object name: outer id: outer » to «LzView#4#3»
lzx> Debug.inspect(«debugger/LzMessage.lzs#353/17#6#5| WARNI...»)
«debugger/LzMessage.lzs#353/17#6#5| WARNING: Redefining #outer.entry from «LzReplicationManager#2#1| ReplicationManager in Object name: outer id: outer » to «LzView#4#3»» {
backtrace: «debugger/LzBacktrace.lzs#72/19#7(15)#10| debugger/LzMessage.lzs#353/17 <- compiler/LzRuntime.lzs#7/27 <- debugger...»
file: null
line: null
message: «debugger/LzMessage.lzs#19/17#8#9(126)#11| "Redefining #outer.entry from «LzReplicationManager#2#1| ReplicationManager in Object name: outer id: outer » to «LzView#4#3»"»
}«debugger/LzMessage.lzs#353/17#6#5| WARNING: Redefining #outer.entry from «LzReplicationManager#2#1| ReplicationManager in Object name: outer id: outer » to «LzView#4#3»»
lzx> Debug.inspect(«debugger/LzBacktrace.lzs#72/19#7(15)#10| ...»)
«debugger/LzBacktrace.lzs#72/19#7(15)#10| debugger/LzMessage.lzs#353/17 <- compiler/LzRuntime.lzs#7/27 <- debugger...» {
length: 15
0: «debugger/LzBacktrace.lzs#49/22#15#14| «Function#12| kernel/LzIdleKernel.lzs#26/16».apply(«undefined», [])»
1: «debugger/LzBacktrace.lzs#49/22#15#19| __idleupdate.apply(«MovieClip#17| global», [1804])»
2: «debugger/LzBacktrace.lzs#49/22#15#26| «LzEvent function#20| sendEvent».apply(«LzEvent#24#23| «LzIdleClass#22#21| prototype».onidle», [1804])»
3: «debugger/LzBacktrace.lzs#49/22#15#31| «LzInstantiatorClass function#27| checkQ».apply(«LzInstantiatorClass#29#28| prototype», [1804])»
4: «debugger/LzBacktrace.lzs#49/22#15#34| «LzInstantiatorClass function#32| makeSomeViews».apply(«LzInstantiatorClass#29#28| prototype», [, 500])»
5: «debugger/LzBacktrace.lzs#49/22#15#37| «LzNode function#35| makeChild».apply(#outer, [[object Object], true])»
6: «debugger/LzBacktrace.lzs#49/22#15#41| «Instance static function#38| make».apply(«¡¿NewClass?!#39| LzView», [Object name: outer id: outer , [object Object], , true])»
7: «debugger/LzBacktrace.lzs#49/22#15#44| «LzNode function#42| initialize».apply(«LzView#4#3| .entry», [Object name: outer id: outer , [object Object], , true])»
8: «debugger/LzBacktrace.lzs#49/22#15#47| «LzNode function#45| __LZapplyArgs».apply(«LzView#4#3| .entry», [[object Object], true])»
9: «debugger/LzBacktrace.lzs#49/22#15#50| «LzNode function#48| setName».apply(«LzView#4#3| .entry», [entry, name])»
10: «debugger/LzBacktrace.lzs#49/22#15#54| «Function#51| debugger/LzMessage.lzs#417/14».apply(#Debug, [Redefining %w.%s from %w to %w, Object name: outer id: outer , entry, ReplicationManager in Object name: outer id: outer , Object name: entry ])»
11: «debugger/LzBacktrace.lzs#49/22#15#57| «Function#55| debugger/platform/swf/kernel.as#100/2...».apply(#Debug, [[type Function], Redefining %w.%s from %w to %w, Object name: outer id: outer , entry, ReplicationManager in Object name: outer id: out...»
12: «debugger/LzBacktrace.lzs#49/22#15#60| «Function#58| debugger/LzMessage.lzs#284/26».apply(«Function#6| debugger/LzMessage.lzs#353/17», [null, null, Redefining %w.%s from %w to %w, Object name: outer id: outer , entry, ReplicationManager in Object ...»
13: «debugger/LzBacktrace.lzs#49/22#15#63| «Function#61| compiler/LzRuntime.lzs#7/27».apply(«Function#6| debugger/LzMessage.lzs#353/17», [null, null, Redefining #outer.entry from «LzReplicationManager#2#1| ReplicationManager in Object name: outer id: ...»
14: «debugger/LzBacktrace.lzs#49/22#15#65| «Function#6| debugger/LzMessage.lzs#353/17».apply(«debugger/LzMessage.lzs#353/17#6#5| WARNING: Redefining #outer.entry from «LzReplicationManager#2#1| ReplicationManager in Object name: outer id: outer » to «...»
}«debugger/LzBacktrace.lzs#72/19#7(15)#10| debugger/LzMessage.lzs#353/17 <- compiler/LzRuntime.lzs#7/27 <- debugger...»
lzx>
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]
