I get these warnings from the Amazon app in swf debug mode. However the app actually<br>seem to be working as usual. It looks like for the first few, each <dataset> tag which declares a dataset<br>is generating a warning. <br>
<br>making canvas sprite «kernel/swf/LzSprite.as#15/16#1#0| LzSprite for This is the canvas [0.00 x 0.00]*[1.00 0 0.00, 0 1.00 0.00, 0 0 1]» <br>ERROR @amazon.lzx#18: reference to undefined variable 'dsRecommend' <br>
ERROR @amazon.lzx#21: reference to undefined variable 'dsKeyword' <br>ERROR @amazon.lzx#37: reference to undefined variable 'dsAsin' <br>ERROR @amazon.lzx#118: reference to undefined variable 'main' <br>
ERROR @amazon.lzx#120: reference to undefined variable 'searchResultsArea' <br>ERROR @amazon.lzx#125: reference to undefined variable 'cdlist' <br>ERROR @amazon.lzx#133: reference to undefined variable 'searchLoader' <br>
ERROR @amazon.lzx#168: reference to undefined variable 'recommend' <br>ERROR @amazon.lzx#180: reference to undefined variable 'cdinfo' <br>ERROR @amazon.lzx#198: reference to undefined variable 'cover' <br>
ERROR @amazon.lzx#233: reference to undefined variable 'pokeme' <br>ERROR @amazon.lzx#252: reference to undefined variable 'CustomerReviewsTab' <br>ERROR @amazon.lzx#295: reference to undefined variable 'customerReviewsContainer' <br>
ERROR @amazon.lzx#185: reference to undefined variable 'infoLoader' <br>ERROR @amazon.lzx#368: reference to undefined variable 'cart' <br>ERROR @amazon.lzx#390: reference to undefined variable 'wish' <br>
ERROR @amazon.lzx#390: reference to undefined variable 'checkout' <br>ERROR @amazon.lzx#426: reference to undefined variable 'shipmentSelection' <br>ERROR @amazon.lzx#489: reference to undefined variable 'dragger' <br>
ERROR @amazon.lzx#516: reference to undefined variable 'dragsmall' <br>ERROR @debugger/debugger.lzx#111: reference to undefined variable '_dbg_cmd_eval' <br>ERROR @debugger/debugger.lzx#238: reference to undefined variable '_dbg_cmd_hist_prev' <br>
ERROR @debugge<br><br><br><div class="gmail_quote">On Mon, Apr 14, 2008 at 8:33 PM, P T Withington (JIRA) <<a href="mailto:jira@laszlosystems.com">jira@laszlosystems.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
[ <a href="http://www.openlaszlo.org/jira/browse/LPP-5773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel" target="_blank">http://www.openlaszlo.org/jira/browse/LPP-5773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel</a> ]<br>
<br>
P T Withington updated LPP-5773:<br>
--------------------------------<br>
<br>
Status: Resolved (was: In Review)<br>
Fixed in Change#: 8669<br>
Resolution: Fixed<br>
Assignee: (was: P T Withington)<br>
<br>
r8669 | ptw | 2008-04-14 20:30:34 -0400 (Mon, 14 Apr 2008) | 42 lines<br>
Changed paths:<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/controllers/LzAnimatorGroup.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/core/LzNode.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapath.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDatapointer.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzParsedPath.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/data/LzReplicationManager.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/lfc/helpers/LzCommand.lzs<br>
M /openlaszlo/trunk/WEB-INF/lps/schema/lfc.lzx<br>
M /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/ClassModel.java<br>
M /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/CompilerUtils.java<br>
M /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java<br>
A /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/Method.java<br>
M /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/ScriptClass.java<br>
M /openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/sc/ScriptCompiler.java<br>
M /openlaszlo/trunk/test/smoke/regression.lzl<br>
<br>
Change 20080402-ptw-I by ptw@dueling-banjos.local on 2008-04-02 15:21:17 EDT<br>
in /Users/ptw/OpenLaszlo/ringding/<br>
for <a href="http://svn.openlaszlo.org/openlaszlo/trunk/" target="_blank">http://svn.openlaszlo.org/openlaszlo/trunk/</a><br>
<br>
Summary: Implement node id binders<br>
<br>
Bugs Fixed:<br>
LPP-5773 'id's do not work in swf9'<br>
<br>
Technical Reviewer: hqm (pending)<br>
QA Reviewer: dda (Message-Id: <<a href="mailto:F6B87886-181C-4C8A-A4A1-87A251848CFF@ddanderson.com">F6B87886-181C-4C8A-A4A1-87A251848CFF@ddanderson.com</a>>)<br>
<br>
Details:<br>
Gobal names need to be bound using closures.<br>
<br>
regression.lzl: Update test to work in swf9<br>
<br>
schema/lfc.lzx: Add $lzc$bind_* attributes<br>
<br>
LzNode, LzReplicationManager: Process binding of id's and global<br>
names early on. Remove id setter (you are not allowed to change<br>
your id dynamically!) Update destroy to work with id/global name<br>
binders.<br>
<br>
LzCommand: add missing super call<br>
<br>
LzAnimatorGroup, LzDatapointer: Make toString, _dbg_name safe<br>
<br>
LzParsedPath: improve debug warnings<br>
<br>
LzDataset: No longer define datasets globally<br>
<br>
LzDatapath: You can't smash a method<br>
<br>
Method, ScriptCompiler, ScriptClass, NodeModel, ClassModel,<br>
CompilerUtils: Distinguish between methods and function-valued<br>
vars.<br>
<br>
Tests:<br>
Henry's global test no longer complains, ant lztest, ant runlzunit<br>
<br>
<br>
<br>
> id's do not work in swf9<br>
> ------------------------<br>
><br>
> Key: LPP-5773<br>
> URL: <a href="http://www.openlaszlo.org/jira/browse/LPP-5773" target="_blank">http://www.openlaszlo.org/jira/browse/LPP-5773</a><br>
> Project: OpenLaszlo<br>
> Issue Type: Bug<br>
> Components: Compiler - JavaScript<br>
> Affects Versions: Yodel, RingDing<br>
> Reporter: P T Withington<br>
> Priority: P0<br>
> Fix For: Yodel<br>
><br>
><br>
> This test case fails in swf9<br>
> <canvas width="800" height="600" debug="false"><br>
> <script when="immediate"><br>
> </script><br>
> <view y="60" name="bar" bgcolor='${(trace("bgcolor"),0xff)}' width="10" height="10" /><br>
> <text text='${(trace("bar: %s", bar),bar.y)}' id="foo" /><br>
> </canvas><br>
<font color="#888888"><br>
--<br>
This message is automatically generated by JIRA.<br>
-<br>
If you think it was sent incorrectly contact one of the administrators: <a href="http://www.openlaszlo.org/jira/secure/Administrators.jspa" target="_blank">http://www.openlaszlo.org/jira/secure/Administrators.jspa</a><br>
-<br>
For more information on JIRA, see: <a href="http://www.atlassian.com/software/jira" target="_blank">http://www.atlassian.com/software/jira</a><br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>