From a9213d4e8b24277b16133e1cff6d27712c5d010c Mon Sep 17 00:00:00 2001
From: Fabien Udriot <fabien.udriot@ecodev.ch>
Date: Wed, 25 Sep 2013 09:59:08 +0200
Subject: [PATCH] [BUGFIX] Remove duplicate exception code

Exception code "1314354065" is used twice: once in the abstract
Resource repository and the other one in the File Collection repository.
Since exception code must be unique, the patch simply renames one
occurrence.

Change-Id: I41474db5de7e8f575275d57e9585252857334ee2
Releases: 6.0, 6.1, 6.2
Resolves: #52243
Reviewed-on: https://review.typo3.org/24038
Reviewed-by: Kilian Hann
Tested-by: Kilian Hann
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
---
 typo3/sysext/core/Classes/Resource/FileCollectionRepository.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/typo3/sysext/core/Classes/Resource/FileCollectionRepository.php b/typo3/sysext/core/Classes/Resource/FileCollectionRepository.php
index c9094da6960d..039d8f51689b 100644
--- a/typo3/sysext/core/Classes/Resource/FileCollectionRepository.php
+++ b/typo3/sysext/core/Classes/Resource/FileCollectionRepository.php
@@ -55,7 +55,7 @@ class FileCollectionRepository extends \TYPO3\CMS\Core\Collection\RecordCollecti
 	public function findByUid($uid) {
 		$object = parent::findByUid($uid);
 		if ($object === NULL) {
-			throw new \RuntimeException('Could not find row with uid "' . $uid . '" in table "' . $this->table . '"', 1314354065);
+			throw new \RuntimeException('Could not find row with uid "' . $uid . '" in table "' . $this->table . '"', 1314354066);
 		}
 		return $object;
 	}
-- 
GitLab