View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
15179Bug reportsImport/Exportpublic2021-02-08 10:07
ReporterMazi Assigned To 
PrioritynoneSeverityminor 
Status acknowledgedResolutionopen 
Product Version3.17.x 
Summary15179: Exporting printable survey to HTML doesn't properly include files paths
Description

If there is a survey with 2-3 images embedded and you export the printable version (HTML), the embedded files do not get included properly at the HTML file. Most probably this is because of the relative paths within the HTML (src="/upload/surveys/192243/images/IMG_2085.JPG"). At my Windows system this leads to a link pointing to file:///upload/surveys/192243/images/IMG_2085.JPG.

Also, while the whole template seems to be exported along, the files at upload/surveys/<SID> seem to be missing at the ZIP file. So even if we adjust the links, we still need to make sure that those files exist.

In addition to that I wonder why there is no "Printable version (HTML)" screen at theme level. If I am exporting my survey to HTML I assume that it will look similar to running the survey in all in one mode. That may be tricky technically, but it would be nice if the export would be "twigged" so one could at least add a custom header/footer for having a logo and the like.

Steps To Reproduce

Take a survey with some images included and export that one using "Printable survey (HTML)". Then open the HTML file at your browser.

TagsNo tags attached.
Bug heat0
Complete LimeSurvey version number (& build) 3.17.7+190722
I will donate to the project if issue is resolvedNo
BrowserChrome
Database type & versionMySQL 5
Server OS (if known)Windows 10 for opening the HTML file
Webserver software & version (if known)Apache 2
PHP Version7.2

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-08-22 09:18 Mazi New Issue
2019-08-22 12:06 cdorin Assigned To => cdorin
2019-08-22 12:06 cdorin Status new => assigned
2021-02-08 10:07 cdorin Assigned To cdorin =>
2021-02-08 10:07 cdorin Status assigned => acknowledged