Author: hqm
Date: 2007-11-22 10:45:26 -0800 (Thu, 22 Nov 2007)
New Revision: 7355
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
Log:
Change 20071122-hqm-2 by [EMAIL PROTECTED] on 2007-11-22 10:19:28 EST
in /cygdrive/c/users/hqm/openlaszlo/trunk/WEB-INF/lps/lfc
for http://svn.openlaszlo.org/openlaszlo/trunk/WEB-INF/lps/lfc
Summary: fix for bug with ondata event with queuerequests
New Features:
Bugs Fixed: LPP-5144
Technical Reviewer: andre
QA Reviewer: pbr
Doc Reviewer:
Documentation:
Release Notes:
Details:
If queuerequests is true, we need to allocate a new datarequest object for each
request, otherwise
the secondincoming response will not send an ondata event, because the handler
which is registered
for the datarequest onstatus event is being unregistered by the
handleDataResponse routine
Tests:
test case in bug report
test/lfc/data/alldata.lzx (we need to add this test case to the regression
tests!)
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2007-11-22 15:22:28 UTC
(rev 7354)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/data/LzDataset.lzs 2007-11-22 18:45:26 UTC
(rev 7355)
@@ -607,7 +607,7 @@
// We try to reuse the old datarequest object, unless
// multirequest is true. If multirequest is true, we need
// a separate datarequest obj for each request.
- if (this.multirequest || this.dataRequest == null) {
+ if (this.multirequest || this.dataRequest == null || this.queuerequests) {
this.dataRequest = new this.dataRequestClass(this);
}
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins