Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing
|Summary:||Setting LinkURL property on a shape might let office crash.|
|Component:||api||Assignee:||AOO issues mailing list <issues>|
|Status:||CONFIRMED ---||QA Contact:|
|Version:||3.3.0 or older (OOo)|
|Issue Type:||DEFECT||Latest Confirmation in:||---|
Description mikhail.voytenko 2009-04-01 10:21:52 UTC
If LinkURL property is set with URL pointing to nonexistent location, the result document ( at least calc ) crashes on activation.
Comment 1 mikhail.voytenko 2009-04-01 10:29:17 UTC
Created attachment 61330 [details] The document from dr that allows to reproduce the problem.
Comment 2 mikhail.voytenko 2009-04-01 10:35:09 UTC
Actually there are two problems. The first one is that the application crashes on activation and the second one is that no valid embedded object is created.
Comment 4 daniel.rentz 2009-04-01 15:37:48 UTC
dr->mav: so there is the problem left, that using the LinkURL creates an invalid object. Additionally, using pure API should not result in a dialog box popping up to the user. Please check also why using the "Graphic" property does not set a replacement graphic for the linked OLE. (This property works good for an embedded OLE object.)
Comment 5 mikhail.voytenko 2009-04-02 07:17:27 UTC
There is a general problem here. The current implementation of the link needs to know the link file format to create the correct type of the object. So we need an additional link implementation that tries to create links on demand if the type is not known on creation.
Comment 6 Mathias_Bauer 2009-05-15 13:43:55 UTC
Crash is fixed, so 3.x should be enough