[Laszlo-checkins] r5685 - openlaszlo/branches/legals/WEB-INF/lps/lfc/data
ptw@openlaszlo.org
ptw at openlaszlo.org
Tue Jul 17 06:00:20 PDT 2007
Author: ptw
Date: 2007-07-17 06:00:17 -0700 (Tue, 17 Jul 2007)
New Revision: 5685
Modified:
openlaszlo/branches/legals/WEB-INF/lps/lfc/data/LzDatapath.lzs
Log:
Change 20070717-ptw-W by ptw at dueling-banjos.local on 2007-07-17 06:19:08 EDT
in /Users/ptw/OpenLaszlo/legals-1
for http://svn.openlaszlo.org/openlaszlo/branches/legals
Summary: Guard against null __LZdepChildren in LzDatapath destroy method
Bugs Fixed:
LPP-4299 'LzDatapath.destroy does not protect against null __LZdepChildren'
Technical Reviewer: hminsky (Message-ID: <8c61fad60707170556n50e268b4w4c693a78fa63e6c7 at mail.gmail.com>)
QA Reviewer: a1pwak602 at sneakemail.com (pending)
Tests:
Inspection
Modified: openlaszlo/branches/legals/WEB-INF/lps/lfc/data/LzDatapath.lzs
===================================================================
--- openlaszlo/branches/legals/WEB-INF/lps/lfc/data/LzDatapath.lzs 2007-07-17 10:34:54 UTC (rev 5684)
+++ openlaszlo/branches/legals/WEB-INF/lps/lfc/data/LzDatapath.lzs 2007-07-17 13:00:17 UTC (rev 5685)
@@ -381,7 +381,8 @@
//if immediate parent was deleted, don't worry about the datpaths dependent
//on this one -- they'll be deleted too
if ( ! this.immediateparent.__LZdeleted ){
- if ( this.__LZdepChildren.length ){
+ if ( this.__LZdepChildren != null &&
+ this.__LZdepChildren.length ){
//need to assign __LZdepChildren to parent
var dnpar = this.immediateparent.searchParents( "datapath" ).
datapath;
More information about the Laszlo-checkins
mailing list