[Laszlo-dev] For Review: Change 20070802-Philip-2. Summary: Fix how LzDatapointer handles null values
P T Withington
ptw at openlaszlo.org
Thu Aug 2 10:29:12 PDT 2007
A slightly more useful warning might be:
Debug.warn("%s: p is null in %s", arguments.callee, this);
Thus you will be able to inspect the offending instance from the
debug message, and you derive the method name directly from the
method, rather than having to explicitly type it.
On 2007-08-02, at 11:46 EDT, Philip Romanik wrote:
> Change 20070802-Philip-2 by Philip at Philip-DC on 2007-08-02 11:34:48
> EST
> in /cygdrive/f/laszlo/svn/src/svn/openlaszlo/branches/wafflecone
> for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone
>
> Summary: Fix how LzDatapointer handles null values
>
> New Features:
>
> Bugs Fixed: LPP-2760
>
> Technical Reviewer: ben
> QA Reviewer: (pending)
> Doc Reviewer: (pending)
>
> Documentation:
>
> Release Notes:
>
> Details:
> The decision is to return undefined when the internal pointer is
> null (same as 3.4). This was the current behavior of wafflecone. I
> added warning messages in debug mode whenever this condition is
> found. The new test file, lztest-lzdatapointer.lzx, only tests the
> undefined behavior of LzDatapointer.
>
>
> Tests:
> Run new unit test, /test/lztest/lztest-lzdatapointer.lzx
>
> Files:
> A test/lztest/lztest-lzdatapointer.lzx
> M WEB-INF/lps/lfc/data/LzDatapointer.lzs
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20070802-
> Philip-2.tar
>
>
More information about the Laszlo-dev
mailing list