Issue Bug Closed

#94714SvgFilesSanitization prevent subsequent file search

Pierrick Caillon 08/04/21, 17:26 updated 09/07/21, 07:32

Description

The method SvgFilesSanitization::resolveSvgFiles set up a file extension filter in every resource storage. However, it does not reset the filter after use.

It prevents the usage of FormPersistenceManager::listForms to retrieve the forms to check them in some own update wizard. Or any other file searching which expect the filters to be defaulted.

A trivial fix would be in attachment:svgfilessanitization.patch.

Another solution would be to update FormPersistenceManager to replace the filters instead of adding, in attachment:formpersistencemanager.patch.

Or maybe do both?

Introduced since #94492

Reviews 4