Project

General

Profile

Actions

Bug #41292

closed

FAL: copy in file module leads to fatal error "Call to a member function getIdentifier()"

Added by Georg Ringer over 11 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
File Abstraction Layer (FAL)
Target version:
-
Start date:
2012-09-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

having a file fo.php in 2 folders and trying to copy one of them into the other folder leads to a fatal error

Fatal error: Call to a member function getIdentifier() on a non-object in master\typo3\sysext\core\Classes\Utility\File\ExtendedFileUtility.php on line 492

this line is

$this->writelog(2, 0, 1, 'File "%s" copied to "%s"', array($sourceFileObject->getIdentifier(), $resultObject->getIdentifier()));

Actions #1

Updated by Andreas Wolf over 11 years ago

Just for clarification: This only happens when the target folder has a file with the same name. So the renaming/overwriting stuff is broken, not copying in general.

Actions #2

Updated by Gerrit Code Review over 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15258

Actions #3

Updated by Anonymous over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF