Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
06eceeb0
Commit
06eceeb0
authored
4 years ago
by
Carsten Rose
Browse files
Options
Downloads
Patches
Plain Diff
Refs #10778: Fix problem closing ZIP too early.
parent
bcab1375
No related branches found
No related tags found
3 merge requests
!286
Master
,
!271
Develop
,
!270
F10778 upload zip and unpack
Pipeline
#3542
passed
4 years ago
Stage: before
Stage: build
Stage: selenium
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extension/Classes/Core/Save.php
+5
-6
5 additions, 6 deletions
extension/Classes/Core/Save.php
with
5 additions
and
6 deletions
extension/Classes/Core/Save.php
+
5
−
6
View file @
06eceeb0
...
...
@@ -672,11 +672,6 @@ class Save {
}
}
// Close Zip
if
(
false
===
$zip
->
close
())
{
throw
new
\UserFormException
(
"Failed to close ZIP."
,
ERROR_IO_ZIP_OPEN
);
}
// Process
if
(
!
isset
(
$formElement
[
FE_SLAVE_ID
]))
{
$formElement
[
FE_SLAVE_ID
]
=
''
;
...
...
@@ -694,9 +689,13 @@ class Save {
$this
->
evaluate
->
parse
(
$formElement
[
FE_SQL_BEFORE
]);
$this
->
doUploadSlave
(
$formElement
,
UPLOAD_MODE_NEW
);
$this
->
evaluate
->
parse
(
$formElement
[
FE_SQL_AFTER
]);
print_r
(
basename
(
$stat
[
'name'
])
.
PHP_EOL
);
}
}
// Close Zip
if
(
false
===
$zip
->
close
())
{
throw
new
\UserFormException
(
"Failed to close ZIP."
,
ERROR_IO_ZIP_OPEN
);
}
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment