Actions
Bug #80088
closedCall to undefined method TYPO3\CMS\Core\Resource\ProcessedFile::setMissing()
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-03-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:
Description
Error thrown in file /var/www/wu7/vendor/typo3/cms/typo3/sysext/core/Classes/Resource/ResourceStorage.php in line 627
ProcessedFile has no 'missing' property.
This part in ResourceStorage::checkFileActionPermission
if ($this->driver->fileExists($file->getIdentifier()) === false) { $file->setMissing(true); $isMissing = true; }
is missing the check for $isProcessedFile
Updated by Georg Ringer over 7 years ago
can you add a simple way how to test that?
Updated by Wouter Wolters over 7 years ago
- Status changed from New to Needs Feedback
Updated by Riccardo De Contardi over 7 years ago
- Status changed from Needs Feedback to Closed
No feedback within the last 90 days => closing this issue.
If you think that this is the wrong decision or experience the issue again or have more info about how to reproduce it, then please reopen it or open a new issue with a reference to this one. Thank you.
Updated by Jan Kornblum over 5 years ago
- TYPO3 Version changed from 7 to 9
- PHP Version changed from 7.1 to 7.2
Also get this error when deleting a physical file that way:
if($document->getPdf()) {
$document->getPdf()->getOriginalResource()->getStorage()->deleteFile($document->getPdf()->getOriginalResource());
}
Updated by Jan Kornblum over 5 years ago
Jan Kornblum wrote:
Also get this error when deleting a physical file that way:
[...]
Sorry, my mistake. Works fine...
Actions