[TYPO3-core] FAL handling of missing files

Frans Saris franssaris at gmail.com
Fri Aug 30 09:31:50 CEST 2013


There was a patch merged that set the deleted flag but that was reverted
again because of some issues. https://review.typo3.org/#/c/20982/

gr. Frans
Op 30 aug. 2013 09:15 schreef "François Suter" <fsu-lists at cobweb.ch> het
volgende:

>  Some more digging later, the file is actually not missing. It is marked
>> as deleted, but somehow the Filelist module still tries to access it...
>>
>
> More digging: am I right in guessing that  handling of deleted FAL records
> changed at some point along the way between 6.1.0 and 6.1.3 (at least, or
> 6.1-dev)?
>
> I had several sys_file records with their deleted flag set to 1. These
> made the Filelist module crash with an uncaught exception. I manually reset
> those flags to 0 and deleted the files again via the Filelist module. Now I
> see that the deleted is apparently no longer used (it remains 0). The file
> is deleted physically, but not the record in the database.
>
> Is all this process normal? It seems weird that records should stay.
>
> And when did this process change? Were there some instructions issued
> about updating the database to do something about those sys_file records
> with deleted = 1?
>
> Cheers
>
> --
>
> Francois Suter
>
> Work: Cobweb Development Sarl - http://www.cobweb.ch
>
> TYPO3: Help the project! - http://typo3.org/contribute/
>
> Appreciate my work? Support me -
> http://www.monpetitcoin.com/**en/francois/support-me/<http://www.monpetitcoin.com/en/francois/support-me/>
>
> ______________________________**_________________
> Before posting to this list, please have a look to the posting rules
> on the following websites:
>
> http://typo3.org/teams/core/**core-mailinglist-rules/<http://typo3.org/teams/core/core-mailinglist-rules/>
> http://typo3.org/development/**bug-fixing/diff-and-patch/<http://typo3.org/development/bug-fixing/diff-and-patch/>
> ______________________________**_________________
> TYPO3-team-core mailing list
> TYPO3-team-core at lists.typo3.**org <TYPO3-team-core at lists.typo3.org>
> http://lists.typo3.org/cgi-**bin/mailman/listinfo/typo3-**team-core<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-team-core>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20130830/a5c42d96/attachment-0001.htm>


More information about the TYPO3-team-core mailing list