[Laszlo-dev] For Review: Change 20081206-bargull-jOa Summary: datapath defined on class crashes app

André Bargull andre.bargull at udo.edu
Sat Dec 6 10:40:38 PST 2008


Change 20081206-bargull-jOa by bargull at dell--p4--2-53 on 2008-12-06 19:15:07
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: datapath defined on class crashes app

New Features:

Bugs Fixed: LPP-7420, LPP-7428

Technical Reviewer: hqm
QA Reviewer: (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
LPP-7428:
Set "cloneAttrs.datapath" to ignoreAttribute to override any datapath 
declared on class.
(This involves how ignoreAttribute is handled in LzNode#mergeAttributes.)

LPP-7420:
You can't rely solely on "_instanceAttrs" to find constrained datapaths, 
you need to look up constructor.attributes, too.
Therefore I've added "__LZgetInstanceAttr", which checks both.


Tests:
attached at bugreports, tested in swf8/swf9

Files:
M WEB-INF/lps/lfc/data/LzReplicationManager.lzs

Changeset: 
http://svn.openlaszlo.org/openlaszlo/patches/20081206-bargull-jOa.tar




More information about the Laszlo-dev mailing list