Icon View Incident Report

Serious Serious
Reported By: Riaz
Reported On: 3/3/2016
For: Version 2.04 Build 1
# 4397 Cross-Origin Resource Load Requests Not Working for DataSet BLOBs (Images)

I cannot not see the image from the database, and after a random thought i did this:

http://epos4u.4irc.com:6005/datasets?dataset=DataBound&method=load&column=ContactPhoto&row=ADF

and the image shows

So i added TImage and added this code to test:

procedure TMainForm.CustomerRowChanged(Sender: TObject; Column: TDataColumn);
begin
Image1.URL := 'http://epos4u.4irc.com:6005/datasets?dataset=DataBound&method=load&column=ContactPhoto&row='+IDEdit.text;
end;

and it works.


Comments Comments
The issue was with a cross-origin request for the original dataset rows. In such a case, the BLOB load URLs populated in the dataset rows are not used correctly against the web server that is serving up the rows, rather they are used against the web server that served up the application. The dataset functionality in EWB now correctly handles CORS URLS for BLOBs.


Resolution Resolution
Fixed Problem on 5/10/2016 in version 2.05 build 1


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image