[Laszlo-dev] For Review: Change 20070705-Philip-6. Summary: Destroying layouts can generate dhtml errors

Philip Romanik promanik at laszlosystems.com
Thu Jul 5 08:03:46 PDT 2007


Change 20070705-Philip-6 by Philip at Philip-DC on 2007-07-05 10:47:48 EST
     in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/legals
     for http://svn.openlaszlo.org/openlaszlo/branches/legals

Summary: Destroying layouts can generate dhtml errors

New Features:

Bugs Fixed: LPP-4226

Technical Reviewer: jcrowley
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
The test case posted in LPP-4081 fails when run in dhtml. LPP-4081 fixed a 
problem with a grid column has more than one subview. It also causes a 
layout to be destroyed from code in basegridcolumn.lzx 
(determinePlacement()). I added checks in LzLayout (LaszloLayout.lzx) to 
make sure the view variables are initialized before trying to release any 
layouts.

Tests:
Run the test from LPP-4081 in dhtml. It should not generate any errors.

smokecheck in dhtml and swf

Files:
M      WEB-INF/lps/lfc/controllers/LaszloLayout.lzs

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070705-Philip-6.tar




More information about the Laszlo-dev mailing list