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
Have the ActiveAdmin resource filtered in to view A and view B so that
Items from viewA raise no exception with the custom helper
Some item(s) from viewB raises an exception.
First export viewB as xls and have the server throw an error. Now export viewA as xls.
Observed: viewA.xls contains data from viewB Expected: Every export should be from a clean slate, so viewA.xls should only contain data from viewA.
Haven't had the chance to see if the issue is with my versions, this gem, or the underlying spreadsheet gem. This does pose a security issue with using custom helpers that might throw an uncaught error, thus leaking data between exports.
There seems to be a possibly high impact issue with the way the xls_builder handles rendering the column contents. Steps to reproduce:
Observed: viewA.xls contains data from viewB
Expected: Every export should be from a clean slate, so viewA.xls should only contain data from viewA.
Haven't had the chance to see if the issue is with my versions, this gem, or the underlying spreadsheet gem. This does pose a security issue with using custom helpers that might throw an uncaught error, thus leaking data between exports.
Versions used:
Ruby 2.3.7p456, Rails 5.0.7.1, ActiveAdmin 1.2.1, ActiveAdmin-xls 2.0.0, Spreadsheet 1.1.7
The text was updated successfully, but these errors were encountered: