Icon View Incident Report

Serious Serious
Reported By: Ronald van der Pas
Reported On: 1/1/2021
For: Version 3.00 Build 1
# 4811 Native Server Module Execution Not Handling RESTful Paths Properly

In EWB2 I used an native module (Delphi) to do all the database work. The module returns datasets and posts data in dbisam tables. Authentication is also done with native modules.

In EWB2 I write:

Database.BaseURL:='/databasemodules/gdba';

"databasemodules" is a directory in the root of my website.
"gdba" is actually gdba.dll and does all the database work.

When I wanted to read a tabel in the webapplication I could write:

Database.LoadRows(tbSample);

The datasetname property of tbSample is dsSample.

This resulted in a call to the EWB webserver of:

http://localhost:6060/databasemodules/gdba?method=rows&database=sampledatabasename&dataset=ll_tiles

As you see the module gets all the information it needs to return the table (ll_tiles refers actually to a sql files that with the sql).

That works great, reliable and really fast.

***EWB3***

In EWB3 I want to use the same module. In the source I write:

Session.DatabaseResource:='databasemodules/gdba';
Session.UserName:='Anonymouse';
Database.DatabaseName:='sampledatabasename';

If I write Database.LoadRows(tbSample) I see this call is made:

http://localhost:6060/databasemodules/gdba/sampledatabasename/ll_tiles/data

This looks fine (although I am new to REST), I get the error "404 Resource not found".


Comments Comments
Internally, the EWB web server was passing in the wrong path information to the native server module during execution.


Resolution Resolution
Fixed Problem on 1/24/2021 in version 3.01 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Modules
Elevate Web Builder Trial

Image