[BUGFIX] remove enableFields for sys_file_processedfile 61/29461/2
authorStefan Froemken <froemken@gmail.com>
Mon, 14 Apr 2014 15:02:18 +0000 (17:02 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 29 Apr 2014 22:22:04 +0000 (00:22 +0200)
remove additional enableFields from where clause
in ProcessedFileRepository as long as
sys_file_processedfile is not part of TCA

Resolves: #57906
Releases: 6.2
Change-Id: I393f7f952a59ca2f79bf35c8653375a54fec4170
Reviewed-on: https://review.typo3.org/29461
Reviewed-by: Oliver Klee
Reviewed-by: Stefan Neufeind
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Classes/Resource/ProcessedFileRepository.php

index a49e9e1..5fc560c 100644 (file)
@@ -196,7 +196,7 @@ class ProcessedFileRepository extends AbstractRepository {
                        throw new \InvalidArgumentException('Parameter is no File object but got type "'
                                . (is_object($file) ? get_class($file) : gettype($file)) . '"', 1382006142);
                }
-               $whereClause = 'original=' . (int)$file->getUid() . $this->getWhereClauseForEnabledFields();
+               $whereClause = 'original=' . (int)$file->getUid();
                $rows = $this->databaseConnection->exec_SELECTgetRows('*', $this->table, $whereClause);
 
                $itemList = array();