Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | StandaloneDocumentInfo unit test. | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | App Dev | Reporter: | Oliver Brinzing <oliver.brinzing> | ||||||
Component: | api | Assignee: | mikhail.voytenko | ||||||
Status: | CLOSED FIXED | QA Contact: | issues@api <issues> | ||||||
Severity: | Trivial | ||||||||
Priority: | P3 | CC: | issues, zhangxiaofei.ooo | ||||||
Version: | 3.3.0 or older (OOo) | ||||||||
Target Milestone: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Windows XP | ||||||||
Issue Type: | PATCH | Latest Confirmation in: | --- | ||||||
Developer Difficulty: | --- | ||||||||
Issue Depends on: | |||||||||
Issue Blocks: | 72764 | ||||||||
Attachments: |
|
Description
Oliver Brinzing
2006-01-06 08:50:35 UTC
Created attachment 32950 [details]
3 test files zipped (*.sdw, *.sxw, *.odt)
sw->as: the problem with the sdw-files is most likely issue 36993 ... but the fact that we can't store document info in the other files looks like a new issue to me. setting target Hi, just noticed, that instantiating the service "com.sun.star.document.XStandaloneDocumentInfo" via OO 2.0.3 RC 5 causes a crash :-( SO 8.0 PU 3 is also affected ... so please change target milestone/priority ... Oliver AS->brinzing: The last described problem is not realy a problem the StandaloneDocumentInfo service. It's a problem of the introspection of basic. Because basic tries to call the new created service before it was realy initialized ... because this service must be called within its method loadFromURL() first. Calling any other method before will throw an exception or produce a crash. Reason: without a related document this service cant work. see #i59538# for further informations. . . Created attachment 49137 [details]
The unit test for StandaloneDocumentInfo
The tests show that the scenario works well now for all the mentioned types of the documents. So the original problem was solved by the reimplementation of the service that was done some time ago. Since the problem is not reproducible, I am changing the title and use the bug to integrate the provided unit test in one of the next framework cws. The unit test will be integrated for OOo2.4. The patch has been integrated into fwk79 cws. The test is integrated into fwk79. Development issue, verified by myself. Closing. |