Author: hqm
Date: 2007-08-09 05:55:55 -0700 (Thu, 09 Aug 2007)
New Revision: 5977

Modified:
   openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzReplicationManager.lzs
Log:
Change 20070808-hqm-4 by [EMAIL PROTECTED] on 2007-08-08 23:47:31 EDT
    in /cygdrive/c/users/hqm/openlaszlo/wafflecone/WEB-INF/lps/lfc
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone/WEB-INF/lps/lfc

Summary:  fix for 'Visible property not respected for replication'

New Features:

Bugs Fixed: LPP-4459
Bug: LPP-4459

Technical Reviewer: pbr
QA Reviewer: max
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:
    
suggested fix from bug report; check for visible property in _instanceAttrs if 
view is
not yet initialized


Tests:

test case in bug report



Modified: 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzReplicationManager.lzs
===================================================================
--- 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzReplicationManager.lzs    
    2007-08-09 11:43:18 UTC (rev 5976)
+++ 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzReplicationManager.lzs    
    2007-08-09 12:55:55 UTC (rev 5977)
@@ -234,7 +234,9 @@
         this.cloneChildren = [];
     }
 
-    this.visible = odp.datacontrolsvisibility || view.visible;
+    this.visible = odp.datacontrolsvisibility ||
+        (!view.isinited &&
+            ('visible' in view._instanceAttrs) ? view._instanceAttrs.visible : 
view.visible);
 
     if ( args.pooling != null ){
         this.pooling = args.pooling;


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to