Change 20100531-bargull-TKS by barg...@bargull02 on 2010-05-31 01:21:49
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: null pointer exception in lz.ModeManager for debug apps
Bugs Fixed: LPP-9053 (npe in lz.ModeManager.handleMouseEvent() in debug
mode)
Technical Reviewer: hqm
Details:
There was a missing test in an if-condition which led to a null pointer
exception. While fixing this, I've restructured the code a bit:
The test whether a view is a child of the debugger window can be done
before entering the loop. If the view is a child of the debugger, simply
don't enter the loop, but still send the mouse event. Otherwise just
proceed like before.
Tests:
see bugreport
Files:
M WEB-INF/lps/lfc/services/LzModeManager.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100531-bargull-TKS.tar