Icon View Incident Report

Serious Serious
Reported By: Uli Becker
Reported On: 2/17/2015
For: Version 1.05 Build 3
# 4157 Executing Multiple Updates in a Row to an ElevateDB Database Can Cause a Commit Error

I am using this code to update a record in dataset1 and insert a record in dataset2:

I get a CommitError with a blank errormessage. HTTP errorcode = 500 JSON seems to be fine.

Database.StartTransaction;
Dataset1.Update;
Dataset1.Columns['LastLogin'].AsDateTime := now;
Dataset1.Save;

Dataset2.open;
Dataset2.insert;
Dataset2.columns['PatientenID'].asInteger := 1;              Dataset2.save;
try
   Database.Commit;
except
   Database.Rollback;
   raise ;
end;



Comments Comments
The problem was specifically with ElevateDB datasets and how the session names were being handled on the server side.


Resolution Resolution
Fixed Problem on 4/2/2015 in version 1.05 build 4


Products Affected Products Affected
Elevate Web Builder
Elevate Web Builder Trial

Image