http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692014-07-31T22:51:41ZTYPO3 ForgeTYPO3 Core - Bug #60703: sys_file indexer and file module throw an exception if a record does not have a physical representationhttp://forge.typo3.org/issues/60703?journal_id=2261052014-07-31T22:51:41ZFrans Sarisfranssaris@gmail.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>When you change your files outside of TYPO3 it's recommended to have the FAL indexer task running every x minutes.<br />Files that are added will get indexed and files that got removed will be marked as missing.</p>
<p>I also recommend to use TYPO3 functionality as much as possible to add, edit, move and delete files. Thus to make sure all references stay up to date and to prevent that a used (referenced) file is deleted.</p>
<p>When exactly do you run into the exception? Because the indexer only handles files that are physical present. Could it be that while the indexer was running a file got deleted from the storage?</p> TYPO3 Core - Bug #60703: sys_file indexer and file module throw an exception if a record does not have a physical representationhttp://forge.typo3.org/issues/60703?journal_id=2263712014-08-04T07:56:51ZNils Blattnernb@cabag.ch
<ul></ul><p>Hi Frans</p>
<p>The indexer task is set up, but fails on the first missing file as outlined in my original post with an InvalidArgumentException.<br />I agree that using the backend functionality is the preferred method, but it mustn't be that file deletion from the outside breaks the indexer completely and prevents folder access in the backend.</p>
<p>Cheers</p> TYPO3 Core - Bug #60703: sys_file indexer and file module throw an exception if a record does not have a physical representationhttp://forge.typo3.org/issues/60703?journal_id=2268062014-08-08T10:56:05ZAlexander Opitzopitz.alexander@googlemail.com
<ul></ul><p>Which TYPO3 6.2 version do you use?</p> TYPO3 Core - Bug #60703: sys_file indexer and file module throw an exception if a record does not have a physical representationhttp://forge.typo3.org/issues/60703?journal_id=2268282014-08-08T11:33:50ZNils Blattnernb@cabag.ch
<ul></ul><p>That was 6.2.3.</p>
<p>Apparently 6.2.4 solved this already.</p>
<p>However I noticed that this creates an extra sys_file record with missing = 1. A really desirable feature would be that this is detected as a move instead.<br />=> I will create a new feature request for that</p>
<p>Sorry for the inconvenience.<br />Cheers</p> TYPO3 Core - Bug #60703: sys_file indexer and file module throw an exception if a record does not have a physical representationhttp://forge.typo3.org/issues/60703?journal_id=2268402014-08-08T11:56:04ZAlexander Opitzopitz.alexander@googlemail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>Hi Nils,</p>
<p>thanks for help.</p>
<p>Finding the file by sha1 isn't easy. As out of the nature of the old file handling there may be many duplicates (which should be checked eliminated before but that's no core function or extension yet).</p>