fix file uploading and storage test
This commit is contained in:
parent
ad19589739
commit
3be3150224
2 changed files with 25 additions and 18 deletions
|
|
@ -390,7 +390,7 @@ sub addFileFromFormPost {
|
|||
$filename = $session->url->makeCompliant($clientFilename);
|
||||
my $filePath = $self->getPath($filename);
|
||||
$attachmentCount++;
|
||||
if ($upload->link($filePath)) {
|
||||
if (File::Copy::move($upload->path, $filePath)) {
|
||||
$self->_changeOwner($filePath);
|
||||
$self->session->errorHandler->info("Got ".$upload->filename);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue