Issue 100740 - Setting LinkURL property on a shape might let office crash.
Summary: Setting LinkURL property on a shape might let office crash.
Status: CONFIRMED
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: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-01 10:21 UTC by mikhail.voytenko
Modified: 2017-05-20 11:27 UTC (History)
2 users (show)

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


Attachments
The document from dr that allows to reproduce the problem. (8.81 KB, application/vnd.oasis.opendocument.spreadsheet)
2009-04-01 10:29 UTC, mikhail.voytenko
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
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".