You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in client side CSV export code, specifically in $scope.getAllData() function. This causes some lines being omitted from the export for each 500 lines or so.
The incorrect line is line 153. I believe index should not be added while calculating qTop:
var page = {
qTop: (pageHeight * index) + index, // +index should not be here
qLeft: 0,
qWidth: columns,
qHeight: pageHeight,
index: index
};
Steps to Reproduce
Take any application which has more that 500 records
Set the extension object up. Choose Comma separated CSV - Client side option
Export the data using the extension
Export the data using QlikSense native functionality
Compare the results, specifically number of rows.
See some records missing from the extension export.
Proposed solution
Remove + index from qTop value calculation.
Thanks
The text was updated successfully, but these errors were encountered:
dariuspranskus
changed the title
There is a bug in client side CSV export, function getAllData()
There is a bug in client side CSV export, function $scope.getAllData()
Aug 5, 2019
I also noticed the missing entries however I was suspecting that it was related to a 'for loop' gathering 499 values instead of 500 due to a < instead of a <=. I'm going to try your fix, thanks.
Hello
Description
There is a bug in client side CSV export code, specifically in $scope.getAllData() function. This causes some lines being omitted from the export for each 500 lines or so.
The incorrect line is line 153. I believe index should not be added while calculating qTop:
Steps to Reproduce
Proposed solution
Remove + index from qTop value calculation.
Thanks
The text was updated successfully, but these errors were encountered: