|
|
|
r5313 | ptw | 2007-06-04 13:18:31 -0400 (Mon, 04 Jun 2007) | 20 lines
Changed paths: M /openlaszlo/branches/legals/WEB-INF/lps/lfc/data/LzDataElement.lzs M /openlaszlo/branches/legals/WEB-INF/lps/lfc/data/LzDatapointer.lzs Change 20070602-ptw-4 by ptw@dueling-banjos.local on 2007-06-02 09:36:49 EDT in /Users/ptw/OpenLaszlo/legals for http://svn.openlaszlo.org/openlaszlo/branches/legals Summary: Repair LzDatapointer.selectChild Bugs Fixed: Technical Reviewer: henry (Message-ID: <8c61fad60706040953h28e269f0t487576f397a19df6@mail.gmail.com>) QA Reviewer: antun (pending) Details: Factored out common loop from all select operations, rewrote in a more modern style, testing pre-condition at the top of the loop. Tests: smokecheck, Waiting for test case from Antun (local legals build r5334)
Smokecheck passes all 685 tests. Antun never provided a test file mentioned in the checkin. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
What would help is a test case, or a backtrace from Firebug that might let us pinpoint the source of the error. If you look at the source of the error in Firebug, and scan back to the beginning of the function you will see a comment in the form:
/* -*- file: data/LzDataElement.lzs#293.34 -*- */
that gives the source of the generated code, which would also be helpful.
Grepping around, it looks like this error is coming from LzDataElement.selectChild not being careful enough about running off the end.