[TYPO3-dam-devel] RFC #13298: Indexing problems when lockingMode is disabled

Andreas Otto andreas at otto-hanika.de
Sun Feb 14 12:13:26 CET 2010


This is a SVN patch request.

Branches:
Trunk and 1.1

Reference:
http://bugs.typo3.org/view.php?id=13298

Problem:
Indexing does not work if
$GLOBALS['TYPO3_CONF_VARS']['SYS']['lockingMode'] is set to "disable".

Solution:
	Change: $success = $this->fileLock->acquire();
	To: $success = $this->fileLock->acquire() ||
$GLOBALS['TYPO3_CONF_VARS']['SYS']['lockingMode'] == 'disable';

Credits go to Jörg Schaller for reporting this issue and providing a
solution.


Cheers,
Andreas


More information about the TYPO3-team-dam mailing list