[Laszlo-dev] For Review: Change 20081029-ptw-i Summary: Make lzunit able to run in non-debug again

Philip Romanik promanik at laszlosystems.com
Wed Oct 29 18:13:20 PDT 2008


Approved. Your lzunit.lzx isn't synced to the latest so I had to change a line,

 From lzunit.lzx:

                 readout.setAttribute("bgcolor", red);

This needs to be,

                 readout.setAttribute("bgcolor", lz.colors.red);



Compilation Errors

org.openlaszlo.sc.CompilerError: lzunit/lzunit.lzx: 997: Error: 
Access of undefined property red, in line: 
readout.setAttribute("bgcolor", 
red)resource/resource-not-found.lzx:35:44: Can't import 
\resource\main.lzx: Can't import \resource\main.lzx: bad mime 
typeresource/resource-not-found.lzx:48:50: The resource named 
'sillyresource' has not been declared


Compilation Warnings


resource/resource-not-found.lzx:35:44: Can't import 
\resource\main.lzx: Can't import \resource\main.lzx: bad mime type
resource/resource-not-found.lzx:48:50: The resource named 
'sillyresource' has not been declared




>Change 20081029-ptw-i by 
><mailto:ptw at dueling-banjos.home>ptw at dueling-banjos.home on 2008-10-29
>17:02:56 EDT
>      in /Users/ptw/OpenLaszlo/trunk-2
>      for 
> <http://svn.openlaszlo.org/openlaszlo/trunk>http://svn.openlaszlo.org/openlaszlo/trunk
>
>Summary: Make lzunit able to run in non-debug again
>
>Bugs Fixed:
>LPP-7274 DHTML: Running style/metasuite without debugger generates a 
>runtime error.
>
>Technical Reviewer: promanik (pending)
>QA Reviewer: max (pending)
>
>Details:
>      LzCSSStyle: Replace usage of `in` that causes CSS attribute rules
>      to not work in non-debug swf9.
>
>      lzunit: Make sure all Debug-related code is inside `if ($debug)`
>
>Tests:
>      style/metasuite in swf8, dhtml, swf9
>
>Files:
>M      WEB-INF/lps/lfc/services/LzCSSStyle.lzs
>M      lps/components/lzunit/lzunit.lzx
>
>Changeset: 
><http://svn.openlaszlo.org/openlaszlo/patches/20081029-ptw-i.tar>http://svn.openlaszlo.org/openlaszlo/patches/20081029-ptw-i.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20081029/73c871ec/attachment.html


More information about the Laszlo-dev mailing list