Issue 100740

Summary: Setting LinkURL property on a shape might let office crash.
Product: App Dev Reporter: mikhail.voytenko
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: daniel.rentz, issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
The document from dr that allows to reproduce the problem. none

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 3 daniel.rentz 2009-04-01 15:28:50 UTC
crash reported and fixed with issue 100710
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
Comment 7 Marcus 2017-05-20 11:27:29 UTC
Reset assigne to the default "issues@openoffice.apache.org".