Issue 50285 - OfficeBean: loadFromURL fails after clearDocument
Summary: OfficeBean: loadFromURL fails after clearDocument
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: joachim.lingner
QA Contact: issues@api
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-03 14:40 UTC by joachim.lingner
Modified: 2013-02-24 21:09 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 joachim.lingner 2005-06-03 14:40:23 UTC
The functions 
 clearDocument, clear, stopOOoConnection, (calles clear) 
call XCloseable.close on the frame object. If a client has previously closed the
frame or the model themselves then a DisposedException is thrown, which may
prevent these methods to do all required work. 
When after clearDocument loadFromURL is called then a DisposedException is
thrown. This happens because the member containing the Xframe which was closed
in clearDocument is not set to null.
Comment 1 joachim.lingner 2005-06-07 10:32:58 UTC
The functions 
 clearDocument, clear, stopOOoConnection, (calles clear) 
call XCloseable.close on the frame object. If a client has previously closed the
frame or the model themselves then a DisposedException is thrown, which may
prevent these methods to do all required work. 
When after clearDocument loadFromURL is called then a DisposedException is
thrown. This happens because the member containing the Xframe which was closed
in clearDocument is not set to null.

The fix is to have clearDocument call clear.
Comment 2 joachim.lingner 2005-06-07 10:57:22 UTC
.
Comment 3 joachim.lingner 2005-06-07 15:24:09 UTC
.
Comment 4 joachim.lingner 2005-07-19 15:18:29 UTC
.
Comment 5 joachim.lingner 2005-07-22 12:30:10 UTC
.