History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-5274
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: P0 P0
Assignee: Unassigned
Reporter: P T Withington
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

ERROR: this.__parent has no properties

Created: 17/Dec/07 05:12 PM   Updated: 21/Jan/08 03:42 PM
Component/s: Kernel - DHTML
Affects Version/s: RingDing (4.1), 4.0.5WaffleCone
Fix Version/s: RingDing (4.1)

Time Tracking:
Not Specified

Severity: Minor
Fixed in Change#: 7,598
Runtime: N/A
Fix in hand: True


 Description  « Hide
   Does this error in dhtml look familar to anyone (see below)? I upgraded my version of trunk to r7539 (installer) and started getting this error when I did the following. I also could not select anything in the navbar when laszlo-explorer was launched in dhtml.

   Environment: OS X, FF2
   Launch laszlo-explorer in flash
   Choose Demos in navbar
   Choose Amazon
   Select the Launch in DHTML button
   Observe green checkmark at bottom right of Amazon window, turns to a red X
   Click on red X, see error below.

   I thought something was wrong with the r7539 build, so I loaded r7501 (a known good build). I started getting the same error with the known good build. I then checked a couple other known good builds and they were all broken in DHTML. I deleted the build from the Application folder and desktop parts, closed terminal and rebooted the mac. Reinstalled r7501 from the .dmg and it worked in DHTML. The same was true when I loaded r7539. Thoughts? Pounce is seeing this problem on both OS X and XP.

   ERROR: this.__parent has no properties
   }; this.__LZdeleted=true; if (!this.__parent.__LZdeleted) }
   LFCdhtml.js (line 1556)


   Line 1556 is a "}", see red below

   if(typeof $27=="object"){
   var $29=new LzInheritedHash($28)
   for(var $30 in $27){
   $29[$30]=$27[$30]
   }
   $22[$17]=$29
   continue
   }
   }
   }
   }
   $22[$17]=$27
   }

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
P T Withington - 17/Dec/07 05:15 PM
r7575 | ptw | 2007-12-17 20:14:14 -0500 (Mon, 17 Dec 2007) | 25 lines
Changed paths:
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Change 20071217-ptw-P by ptw@dueling-banjos.local on 2007-12-17 17:56:31 EST
    in /Users/ptw/OpenLaszlo/ringding-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Brain-oh in LzSprite.js

Bugs Fixed:
LPP-5274 'Error: this.__parent has no properties (DHTML)'

Technical Reviewer: philip@pbrdev.com (pending)
QA Reviewer: maymye (pending)

Details:
    Test for __parent before using it

Tests:
    Environment: OS X, FF2
    Launch laszlo-explorer in flash
    Choose Demos in navbar
    Choose Amazon
    Select the Launch in DHTML button
    Observe green checkmark at bottom right of Amazon window, NO LONGER
    turns to a red X


P T Withington - 18/Dec/07 06:16 AM
r7576 | ptw | 2007-12-17 20:38:00 -0500 (Mon, 17 Dec 2007) | 7 lines
Changed paths:
   M /openlaszlo/branches/4.0.5.2
   M /openlaszlo/branches/4.0.5.2/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Change 20071217-ptw-M by ptw@dueling-banjos.local on 2007-12-17 20:36:06 EST
    in /Users/ptw/OpenLaszlo/4.0.5.2
    for http://svn.openlaszlo.org/openlaszlo/branches/4.0.5.2

Summary: Merged revisions 7575 via svnmerge from http://svn.openlaszlo.org/openlaszlo/trunk


P T Withington - 18/Dec/07 02:41 PM
From: Max Carlson <max@openlaszlo.org>
Date: 17 December 2007 20:39:36 EST
To: P T Withington <ptw@openlaszlo.org>
Cc: laszlo-checkins@openlaszlo.org
Subject: Re: [Laszlo-checkins] r7576 - in openlaszlo/branches/4.0.5.2: . WEB-INF/lps/lfc/kernel/dhtml

Did you mean:
if ((this.__parent) && (! this.__parent.__LZdeleted)) {


P T Withington - 18/Dec/07 02:42 PM
r7598 | ptw | 2007-12-18 17:23:37 -0500 (Tue, 18 Dec 2007) | 17 lines
Changed paths:
   M /openlaszlo/trunk/WEB-INF/lps/lfc/kernel/dhtml/LzSprite.js

Change 20071218-ptw-t by ptw@dueling-banjos.local on 2007-12-18 17:09:43 EST
    in /Users/ptw/OpenLaszlo/ringding-2
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Type-oh in r7576

Technical Reviewer: max (message://<476724D8.2000904@openlaszlo.org>)
QA Reviewer: mamye (pending)

Details:
    Remove stray '_' noticed by Max

Tests:
    Ran lpp-5213 test in DHTML, examine canvas.sprite.__children.
    Before: 100's of leaked objects, After: 3 expected objects.


P T Withington - 18/Dec/07 02:43 PM
Not fixed in 4.0.5.2

Mamye Kratt - 21/Jan/08 03:42 PM
(trunk 4 local build r7775)

Fixed.