web-vision / wv_file_cleanup

TYPO3 extension to cleanup your TYPO3 installation automatically of unused media assets.
GNU General Public License v3.0
2 stars 7 forks source link

[Question] plans to make the extension TYPO3 11 compatible? #12

Closed medarob closed 1 year ago

medarob commented 2 years ago

Hi, I found the extension because an editor wanted to know if it is possible in TYPO3 to list all files which are currently unused (not referenced in any TYPO3, custom MASK CE or RTE link) and therefore can be deleted safely. Is this extension suitable for this purpose and will there be a TYPO3 11 compatible version available?

DavidBruchmann commented 2 years ago

When installing wv_file_cleanup in TYPO3 version 11 the first error is this:

image

It's related to this system change:

Riiiad commented 2 years ago

@medarob thank you for your feedback. An 11 LTS compatible version is planned to be released soon. I will check if it's working with MASK extension and give you an update here.

msollmann commented 2 years ago

Any progress on this? :-)

Riiiad commented 2 years ago

@msollmann Just merged the changes to master. So it is now compatible with 11 LTS. The Release will follow as we need to do some more testing.

msollmann commented 2 years ago

After installing it on v11 there is an error in FileRepository, line 199:

An exception occurred while executing 'SELECT COUNT(recuid) FROM sys_refindex WHERE (ref_table = ?) AND (ref_uid = ?) AND (deleted = ?) AND (tablename <> ?)' with params ["sys_file", 2857, 0, "sys_file_metadata"]: Unknown column 'deleted' in 'where clause'

It seems that table sys_refindex in v11 has no "deleted"-field anymore.

DTM-TYPO3 commented 1 year ago

Hi, is there any progress in adapting the extension for Typo3 V11?

Riiiad commented 1 year ago

Master is now working with LTS 11. Soon we will release a new version.