[Laszlo-dev] /test/lfc/data/alldata.lzx is failing in dhtml

P T Withington ptw at pobox.com
Thu Apr 3 04:13:52 PDT 2008


Yes my change to create instance-classes has resulted in  
_instanceAttrs being null some times.  I think that was possible even  
before my changes, but never occurred.

OTOH, I think this is really my bug, because attributes like `name`  
have to come as _instanceAttrs so that they will invoke the setter  
when the instance is created.  I am working on a fix for this and  
should have it early this morning.

There is no harm in verifying _instanceAttrs is non-null (it is  
declared as so), so if you are being blocked by this, feel free to add  
that check.

On 2008-04-03, at 03:39 EDT, André Bargull wrote:
> I've already talked to Tucker about that issue some days ago, I can  
> send a changeset for the LzDataset special-naming thing.
> [Most likey, that will be at 14pm or 15pm (CET).]
>
> - André
>
>> Hi Tucker,
>>
>> I think there is an error coming from your 4/1 changest. There is  
>> some code in LzDataset which is failing when /test/lfc/data/ 
>> alldata.lzx is run in dhtml:
>>
>> this._instanceAttrs has no properties
>>
>> The code is:
>>
>>     if (this._instanceAttrs['name'] == null) {
>>         this._instanceAttrs['name'] = 'localdata';
>>     }
>>
>> Should I add a check that this._instanceAttrs exists? I'm debugging




More information about the Laszlo-dev mailing list