Open Vovka66 opened 5 years ago
I also have the same issue. Could you fix it?
this is probably happening for specific files, can you provide more info on the file you're using it?
I use the version released here in the main page and deplyed on heroku. This is happening into ForgeXLS.js when trying to export to XLS pushing the button.
Downloading metadata...
ForgeXLS.js:56 Downloading hierarchy...
ForgeXLS.js:61 Downloading properties...
ForgeXLS.js:191 Uncaught TypeError: Cannot read property 'forEach' of undefined
at Object.getAllElementsOnCategory (ForgeXLS.js:191)
at ForgeXLS.js:178
at Array.forEach (
It seems the variable category is empty
hierarchy.data.objects[0].objects.forEach(function (category)
Just in case
Google Chrome Versión 75.0.3770.142 (Build oficial) (64 bits)
interesting, indeed we should have a check at that point, we're reviewing these sample, will fix it.
Sounds good. I hope being soon ;)
when I try to Exptort, I get this err: ForgeXLS.js:189 Uncaught TypeError: Cannot read property 'forEach' of undefined at Object.getAllElementsOnCategory (ForgeXLS.js:189) at ForgeXLS.js:176 at Array.forEach ()
at Object.prepareRawData (ForgeXLS.js:174)
at ForgeXLS.js:166
at Object.success (ForgeXLS.js:44)
at i (jquery.min.js:2)
at Object.fireWith [as resolveWith] (jquery.min.js:2)
at A (jquery.min.js:4)
at XMLHttpRequest. (jquery.min.js:4)