Issue 49450

Summary: "filter detection" does not work for dynamicly added filters (e.g. xslt filters)
Product: General Reporter: andreas.schluens
Component: codeAssignee: jogi
Status: CLOSED FIXED QA Contact: issues@framework <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 2.0 Beta   
Target Milestone: OOo 2.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
example filter + test file + patch of filtercache.cxx none

Description andreas.schluens 2005-05-18 12:59:53 UTC
If a xslt filter was created using the XML Filter Dialog of "Tools->Options" it's not 
guaranteed that the corresponding file format can be loaded within the office. A may 
be used preselected xslt filter can workaround the situation ... but normal way of 
loading documents should work too.

The problem behind:
After the type detection was done we must search a suitable filter to load the 
document.
But searching of the filter is done by using an optimized value inside the filter 
configuration. And these special property is a new feature and not used by the xml 
filter dialog. So the xml filter are not realy found. Instead of that the filter selection 
dialog cames up and the user has to know which filter must be selected.

Solution:
The search for a suitable filter must work even if this special optimized config 
property exists or not. Means: the search for a filter must be done by using the 
whole list of filters.
Comment 1 andreas.schluens 2005-05-18 13:02:37 UTC
Created attachment 26273 [details]
example filter + test file + patch of filtercache.cxx
Comment 2 andreas.schluens 2005-05-25 09:13:01 UTC
.
Comment 3 carsten.driesner 2005-06-01 13:41:29 UTC
cd: Reviewed and approved.
Comment 4 andreas.schluens 2005-06-07 08:32:57 UTC
AS->JSI: Please verify this task on my cws. THX.
You have to create an unique(!) XSLT filter and try to load documents (supported by 
this filter) by using the file open dialog. And it must work WITHOUT any 
preselection .

Note : You cant use a new created XSLT filter without restarting the office, because 
#i35892# isnt fixed yet.

re-open issue and reassign to jsi@openoffice.org
Comment 5 andreas.schluens 2005-06-07 08:33:01 UTC
reassign to jsi@openoffice.org
Comment 6 andreas.schluens 2005-06-07 08:33:05 UTC
reset resolution to FIXED
Comment 7 jogi 2005-06-16 08:22:27 UTC
I have created an own XSLT-Filter and after an office restart it works fine to
load the files without pre-selection.
Comment 8 jogi 2005-10-28 12:02:06 UTC
It works fine in patched m136.