Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
9ff2e086
Commit
9ff2e086
authored
Dec 26, 2018
by
Carsten Rose
Browse files
Bug #7544 General error: Download.php / Line: 175. Refs #7543
parent
003018ec
Pipeline
#1261
passed with stage
in 1 minute and 38 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/report/Download.php
View file @
9ff2e086
...
...
@@ -103,7 +103,7 @@ class Download {
*
* @return string - fileName of concatenated file
* @throws UserFormException
* @throws
d
ownloadException
* @throws
D
ownloadException
*/
private
function
concatPdfFiles
(
array
$files
)
{
...
...
@@ -182,7 +182,7 @@ class Download {
*
* @param $file
* @param $outputFilename
* @throws
d
ownloadException
* @throws
D
ownloadException
*/
private
function
outputFile
(
$file
,
$outputFilename
)
{
...
...
@@ -485,6 +485,12 @@ class Download {
break
;
}
if
(
$filename
!=
''
&&
!
file_exists
(
$filename
))
{
throw
new
DownloadException
(
json_encode
(
[
ERROR_MESSAGE_TO_USER
=>
'Can\'t read file'
,
ERROR_MESSAGE_SUPPORT
=>
"File:
$filename
"
]),
ERROR_IO_FILE_EXIST
);
}
switch
(
$outputMode
)
{
case
OUTPUT_MODE_FILE
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment