Issue 49450 - "filter detection" does not work for dynamicly added filters (e.g. xslt filters)
Summary: "filter detection" does not work for dynamicly added filters (e.g. xslt filters)
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.0 Beta
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 2.0.1
Assignee: jogi
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 12:59 UTC by andreas.schluens
Modified: 2005-10-28 12:02 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
example filter + test file + patch of filtercache.cxx (5.56 KB, application/octet-stream)
2005-05-18 13:02 UTC, andreas.schluens
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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.