Skip Menu |

This queue is for tickets about the TAP-Formatter-HTML CPAN distribution.

Report information
The Basics
Id: 132071
Status: new
Priority: 0/
Queue: TAP-Formatter-HTML

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.11
Fixed in: (no value)



Subject: Setting TAP_FORMATTER_HTML_TEMPLATE does not work
Trying to use another report template by setting the environment variable TAP_FORMATTER_HTML_TEMPLATE fails: file error - /tmp/DFT0BlV1Iz_default_report.tt2: absolute paths are not allowed (set ABSOLUTE option) Note that the documentation suggest that absolute paths should work; https://metacpan.org/pod/release/SPURKIS/TAP-Formatter-HTML-0.11/lib/TAP/Formatter/HTML.pm#CUSTOMIZING lists TAP_FORMATTER_HTML_TEMPLATE=/path/to.tt Maybe somewhere TT2 should be configured to allow absolute paths?
On 2020-03-06 04:53:08, SREZIC wrote: Show quoted text
> Trying to use another report template by setting the environment > variable TAP_FORMATTER_HTML_TEMPLATE fails: > > file error - /tmp/DFT0BlV1Iz_default_report.tt2: absolute paths are > not allowed (set ABSOLUTE option) > > Note that the documentation suggest that absolute paths should work; > https://metacpan.org/pod/release/SPURKIS/TAP-Formatter-HTML- > 0.11/lib/TAP/Formatter/HTML.pm#CUSTOMIZING lists > > TAP_FORMATTER_HTML_TEMPLATE=/path/to.tt > > Maybe somewhere TT2 should be configured to allow absolute paths?
Relative paths also do not work: file error - ../../../../../../tmp/Nlf9BDv5RA_default_report.tt2: relative paths are not allowed (set RELATIVE option)
On 2020-03-06 04:53:08, SREZIC wrote: Show quoted text
> Trying to use another report template by setting the environment > variable TAP_FORMATTER_HTML_TEMPLATE fails: > > file error - /tmp/DFT0BlV1Iz_default_report.tt2: absolute paths are > not allowed (set ABSOLUTE option) > > Note that the documentation suggest that absolute paths should work; > https://metacpan.org/pod/release/SPURKIS/TAP-Formatter-HTML- > 0.11/lib/TAP/Formatter/HTML.pm#CUSTOMIZING lists > > TAP_FORMATTER_HTML_TEMPLATE=/path/to.tt > > Maybe somewhere TT2 should be configured to allow absolute paths?
This problem was also reported on github: https://github.com/spurkis/TAP-Formatter-HTML/issues/5