History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: LPP-4404
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: P0 P0
Assignee: Unassigned
Reporter: Henry Minsky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenLaszlo

Implement DataProvider API

Created: 31/Jul/07 09:19 AM   Updated: 23/Aug/07 02:26 PM
Component/s: LFC - Data
Affects Version/s: 4.0.5WaffleCone
Fix Version/s: 4.0.5WaffleCone

Time Tracking:
Not Specified

Severity: Blocker
Fixed in Change#: 5,937
Runtime: N/A
Fix in hand: False


 Description  « Hide
Implement DataProvider spec

http://wiki.openlaszlo.org/Dataprovider

 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Henry Minsky - 04/Aug/07 10:02 PM
Implementation of dataprovider/datarequest API is checked in.
LZHTTPDataProvider is the default data provider.
Lzdataset has been modified to use the API


Henry Minsky - 04/Aug/07 10:05 PM
------------------------------------------------------------------------
r5937 | hqm | 2007-08-05 01:00:51 -0400 (Sun, 05 Aug 2007) | 38 lines
Changed paths:
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/Library.lzs
   A /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzDataRequest.lzs
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzDataset.lzs
   A /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/data/LzHTTPDataProvider.lzs
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/dhtml/LzHTTPLoader.js
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzHTTPLoader.as
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzLoadQueue.as
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzLoader.lzs
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/schema/lzx.rnc
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/DataCompiler.java
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
   M /openlaszlo/branches/wafflecone/WEB-INF/lps/server/src/org/openlaszlo/compiler/ViewSchema.java
   M /openlaszlo/branches/wafflecone/demos/chat/chatlib.lzx
   M /openlaszlo/branches/wafflecone/lps/components/rpc/library/swf/rpc.js
   A /openlaszlo/branches/wafflecone/test/data/datatag-1.lzx
   M /openlaszlo/branches/wafflecone/test/lfc/data/dollarpath.lzx

Change 20070805-hqm-4 by hqm@IBM-2E06404CB67 on 2007-08-05 00:48:45 EDT
    in /cygdrive/c/users/hqm/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: checkin of dataprovider implementation for dataset

New Features:


Bugs Fixed: LPP-4404

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

Documentation:


Release Notes:

Details:


Tests:

test/lfc/data/alldata.lzx
test/lfc/data/runtestdatapath.lzx
test/lfc/data/dollarpath.lzx
test/lfc/data/lzunit-lzparsedpath.lzx
test/lfc/data/xpath.lzx

demos/amazon
demos/weather
demos/vacation-survey
demos/calendar


Mamye Kratt - 06/Aug/07 03:51 PM
(wafflecone branch local branch r5942)
The following testfile fails:
test/lfc/data/alldata.lzx

Error:
  Tests: 312 Failures: 2 Errors: 0
  TestFailure: TestClientCacheBreaker >>> test1 failed: False: expected false got true
  TestFailure: TestClientCacheBreaker >>> test1 failed: False: expected false got true

 test/lfc/data/runtestdatapath.lzx - PASS
 test/lfc/data/dollarpath.lzx - PASS
 test/lfc/data/lzunit-lzparsedpath.lzx - PASS
 test/lfc/data/xpath.lzx - PASS

Will run demos, once this error is fixed.

Henry Minsky - 06/Aug/07 04:09 PM
Can you run this again, hit reload, there is a timing bug when run the first time, and the .jsp's have to compile on the server , it causes a long delay
which screws things up sometimes.

I haven't been able to fix this issue yet, sorry. I will file a separte JIRA task for it. It

Henry Minsky - 07/Aug/07 02:03 PM
r5956 is the latest update for this.

Mamye Kratt - 07/Aug/07 04:43 PM
(wafflecone branch local build r5957)

Still getting the error on http://127.0.0.1:8080/wafflecone/test/lfc/data/alldata.lzxURL:

Tests: 312 Failures: 2 Errors: 0
TestFailure: TestClientCacheBreaker >>> test1 failed: False: expected false got true
TestFailure: TestClientCacheBreaker >>> test1 failed: False: expected false got true

Version: 4.0.x.0
Release: Latest
Build: 5957 C:\cygwin\home\mamye\src\svn\openlaszlo\branches\wafflecone
Date: 2007-08-07T19:32:14-0500
Target: swf7
Runtime:8.24

Mamye Kratt - 07/Aug/07 05:46 PM
To be clearer the first time fails second time ok.

Henry Minsky - 08/Aug/07 07:21 AM
Please run the test twice for now. File separate bug to fix the test case so it runs the first time.

Mamye Kratt - 23/Aug/07 02:26 PM
(wafflecone branch local build r6194)

Closing this one.

Open 2 new bugs:

LPP-4567 test/lfc/data/alldata.lzx fails on 1st compile
LPP-4568 DHTML: xpath.lzx gets error