Issue 7866 - drafts.com.sun.star.frame returned by XTypeProvider
Summary: drafts.com.sun.star.frame returned by XTypeProvider
Status: CLOSED FIXED
Alias: None
Product: udk
Classification: Code
Component: code (show other issues)
Version: 643
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: OOo 1.1 Beta
Assignee: Mathias_Bauer
QA Contact: issues@udk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-09-24 15:07 UTC by schulten
Modified: 2003-01-31 09:53 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description schulten 2002-09-24 15:07:46 UTC
There is again a drafts type which causes the bridge to be disposed of. When I 
call getTypes() on the activeFrame of the Desktop, I get:

com.sun.star.lang.DisposedException: 
com.sun.star.lib.uno.protocols.urp.Unmarshal.readTypeDescription - 
unexpected:java.lang.ClassNotFoundException: 
drafts.com.sun.star.frame.XDispatchInformationProvider

From the last time we discussed a similar problem, I remember you saying this 
was a bug, draft types never should be returned by XTypeProvider.
I send this to udk because I think you are the ones to decide whether or not 
draft types should really not be returned by XTypeProvider.getTypes() and 
inform the appropriate developers.

Dietrich
Comment 1 kay.ramme 2002-11-19 09:23:06 UTC
Dietrich, took me some time to figure out how to handle this, sorry :-)
In general draft types (types with draft as their first package) will
not be handled differently than other types. That means, that in your
case the bug is, that there are no Java types in ridl.jar/unoil.jar.
I will forward the bug to the appropriate developer. 

Comment: if an OOo release has types in the drafts package, this types
are fix with the release, that means that we never again can get rid
of them.

Matthias: this seems to be yours? Can you please add the type to the
unoil project?
Comment 2 Mathias_Bauer 2002-11-19 15:34:14 UTC
We already are aware ot his problem and will take action to make sure 
that the relevant interfaces will be fixed or removed until the 
release.
Comment 3 Mathias_Bauer 2002-11-19 15:36:43 UTC
.
Comment 4 schulten 2003-01-04 14:50:55 UTC
Hmm, last time I checked I was told that drafts.com.sun.star types 
should never make it into the Java language binding, rather it was 
considered a bug that XTypeProvider returned this interface. I think 
Jörg Budischewski was the one who told me so.
Comment 5 Mathias_Bauer 2003-01-08 10:39:19 UTC
I assume that these are some interfaces at our controller?!
Fixed in all builds>=644.
Comment 6 Mathias_Bauer 2003-01-17 13:56:35 UTC
.
Comment 7 Mathias_Bauer 2003-01-17 14:26:33 UTC
There was also a drafts type in the frame service.
Comment 8 Mathias_Bauer 2003-01-31 09:53:27 UTC
In CWS CD5 in the SRX644 tree all draft types in the frame and 
controller objects have been removed.