Note this patch might solve my problem with getFromTypeAndExtension(null, 'knownextension') with my patch (not tested, though)
Note this patch might solve my problem with getFromTypeAndE xtension( null, 'knownextension') with my patch (not tested, though)