That error message looks crappy. Why is it reporting the full url (normally it abbreviates relative to the app root). Why does the line number in the error disagree with the line number in the message? Is either one of them right? Is this a native browser error that is being caught and reported? Maybe file a bug if there is a small test case?

On 2007-11-02, at 12:44 EDT, Philip Romanik wrote:

Approved.

The test app generates an error when LzDatapointer.getNodeText() is called.

ERROR @http://localhost:8080/trunk/lps/includes/lfc/LFCdhtml-debug.js#14476 : this.p.__LZgetText is not a functionLFCdhtml-debug.js (line 1463)
this.p.__LZgetText is not a function
[]




Change 20071102-hqm-0 by [EMAIL PROTECTED] on 2007-11-02 11:53:42 EDT
   in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
   for 
<http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc>http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc

Summary: don't throw error when selectChild() called on text node

New Features:

Bugs Fixed: LPP-4493

Technical Reviewer: pbr
QA Reviewer: andre
Doc Reviewer:

Documentation:

Release Notes:

Details:

Check that functions exists before calling selector function on a node




Tests:

see test case in bug report.
Run in DHTML, click button, see that no Firebug error occurs



Files:
M      data/LzDatapointer.lzs


Changeset: <http://svn.openlaszlo.org/openlaszlo/patches/20071102-hqm-0.tar >http://svn.openlaszlo.org/openlaszlo/patches/20071102-hqm-0.tar


--
Henry Minsky
Software Architect
<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]

Reply via email to