[BUGFIX] Minor glitches in FileIndex- and MetaDataRepositories 97/24897/2
authorSteffen Ritter <info@rs-websystems.de>
Fri, 18 Oct 2013 13:04:10 +0000 (15:04 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Fri, 18 Oct 2013 13:12:24 +0000 (15:12 +0200)
commit1417f0212b76915694955311fc592f59e236c17b
tree2e2f9e0289d2b221e68de8f2d137cf65f3e2fa8a
parent1cfc65dc75b851e94969ba0761128db56f9df20d
[BUGFIX] Minor glitches in FileIndex- and MetaDataRepositories

There are two minor issues with the Repositories for file meta
data.
The FileIndexRepository::hasIndexRecord returns false if there
is more than one entry in the database. As a result the file
can be indexed over and over again.

In addition while updating file-meta-data it is possible to
update the uid of an record since it is removed from the wrong
array.

Resolves: #52954
Releases: 6.2
Change-Id: Iee4deaa60933f5fd67a31ac70246bc1226b9007a
Reviewed-on: https://review.typo3.org/24897
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/core/Classes/Resource/Index/FileIndexRepository.php
typo3/sysext/core/Classes/Resource/Index/MetaDataRepository.php