Hi Laszlo Users,

This was discussed previously in a thread in Laszlo-Dev, but we realized we
should probably get people's opinion
from Laszlo User before deciding on the 'correct' behavior. I need to
resolve this bug by either changing
the regression test to match the current behavior or changing the behavior
of the deleteNode method back to the
older behavior.

The bug is http://www.openlaszlo.org/jira/browse/LPP-7461

And was discussed on laszlo dev back in December:
http://www.openlaszlo.org/pipermail/laszlo-dev/2008-December/018410.html

Currently, the documentation says

datapointer.deleteNode();
Removes the node pointed to by the datapointer. If rerunxpath is true and
xpath has been set, it will be re-evaluated. Otherwise, if the deleted node
has a following sibling, the pointer is repositioned at that sibling.
Otherwise the pointer is set to null.


However, the current behavior actually will back up the pointer to a
previous sibling if there is no next sibling.




-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to