summaryrefslogtreecommitdiff
path: root/report/report_service.rb
diff options
context:
space:
mode:
Diffstat (limited to 'report/report_service.rb')
-rw-r--r--report/report_service.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/report/report_service.rb b/report/report_service.rb
index 91eefe8..722c3d6 100644
--- a/report/report_service.rb
+++ b/report/report_service.rb
@@ -83,6 +83,9 @@ module Reports
LOGGER.debug "report persisted with id: '"+id.to_s+"'"
task.progress(100) if task
+ #HACK - format to html right after creation, as dynamically create html may cause deadlocks
+ get_report(type, id, "text/html")
+
return get_uri(type, id)
end