[Laszlo-dev] For Review: Change 20081223-maxcarlson-d Summary: Prevent .length warnings when using replicator

André Bargull andre.bargull at udo.edu
Wed Dec 24 06:10:02 PST 2008


"LzView#layouts" is `null`, so you need to test for that property 
instead of `p.layouts['length'] != null`.

> Change 20081223-maxcarlson-d by maxcarlson at Bank.lan <http://www.openlaszlo.org/mailman/listinfo/laszlo-dev> on 2008-12-23  
> 21:37:10 PST
>      in /Users/maxcarlson/openlaszlo/trunk-clean
>      for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Prevent .length warnings when using replicator
>
> Bugs Fixed: LPP-7513 - replicator can cause warnings when there are no  
> layouts
>
> Technical Reviewer: mdemmon at laszlosystems.com <http://www.openlaszlo.org/mailman/listinfo/laszlo-dev>
> QA Reviewer: ptw
>
> Details: Be more cautious when checking the length of 'layouts'
>
> Tests: Run webtop
>
> Files:
> M      lps/components/utils/replicator/replicator.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20081223-maxcarlson-d.tar
>   




More information about the Laszlo-dev mailing list