ActiveCollab Modules/Customization
View Cart
Close slide

Project exporting can not finish

We observed the exporting process sometimes stuck on the system item. Firebug reports "missing ] after element list".

Apparently it's caused by eval('response_obj = '+response);

In /public/assets/modules/project_exporter/javascript/main.js

The variable response is already an object and this eval will fail.

replace with this line with var response_obj = response;

Also, the finalize step will fail too:

if (compress_output && !warning_exists(response_obj.log))

will report response_obj is not an object.


In the same file, replace with if (compress_output && (response_obj==undefined || !warning_exists(response_obj.log)))