Schema Compare Report - interactive html-report - minor bug causes images not to show in Firefox via http-server
When you put a and interactive-html-report and its images folder underneath htdoc of an http-server, the images fail to show in Firefox while working fine in Internet-Explorer. This can be fixed easily by changing function SetupImagesDir() :
instead of the currently generated backslash:
imagesdir = reportFileName + "images\";
use forward slash:
imagesdir = reportFileName + "images\/";
In my tests this works in both IE and FF both via direct file and http-server.
We are hoping to soon update the report entirely to be more consistent with the report generated by SQL Compare, the SQL Server sister tool. Please let us know if you have any other suggestions on what the report should show.
-
Bernhard Schwarz commented
It is pretty inconvenient that each generated interactive html-report generates a separate folder including all the needed images in the report, which are always the same for each report anyway. When sending out the report via e-mail then you have to include the corresponding images folder as well and best pack it all in a zip file as well.
It would be great to have the option to alternatively get those images from a remote Red-Gate server or to at least use the same folder for all generated reports in a folder. This would simplify sending out schema differences reports via e-mail a lot!