[TYPO3-core] Filemodule reference check

Frans Saris franssaris at gmail.com
Sat Dec 7 09:25:14 CET 2013


Hi,

Currently the filemodule uses 2 methods to check if a file is referenced
somewhere.

For the reference count in the file listing it queries sys_ref.
For the reference check when deleting a file first sys_ref is checked and
when references are found sys_file_reference is queried and only these
results are shown to the user. So when sys_ref is out of sync you get
strange behaviour.

My proposal is to cleanup the filemodule and only use sys_file_reference
for the reference checks.

What's your opinion about this?

Gr. Frans
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20131207/b9aeab64/attachment.htm>


More information about the TYPO3-team-core mailing list