Issue 100993 - 2 times the same linked Ole objects cause message "document in use"
Summary: 2 times the same linked Ole objects cause message "document in use"
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 3.1 RC1
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: OOo 3.1
Assignee: michael.ruess
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 95768
  Show dependency tree
 
Reported: 2009-04-09 17:15 UTC by Rainer Bielefeld
Modified: 2009-04-29 06:10 UTC (History)
2 users (show)

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


Attachments
Test kit (66.98 KB, application/x-compressed)
2009-04-09 17:17 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Rainer Bielefeld 2009-04-09 17:15:39 UTC
I checked with "Ooo  3.1.0 RC1 multilingual version English UI WIN XP: [OOO310m9
(Build 9396)]" and found out:

When you open a document containing 2 or more times the same linked OLE object a
message "document in use" will appear.

Steps to it produced the problem:
0. unzip attached test kit
1. open "test2.odt" or "test2.ods" (containing "TheElectronicMail.odg" 2 times
   as linked OLE object)
   expected: document should open without any problem 
   actual: Message appears, you have to decide how you want to open the 
           second copy of "TheElectronicMail.odg". If you select "Canel" in the 
           message box, only a place holder will be shown instead of the object.

The problem does not appear for documents with only one linked OLE aobject in it
(test with "test1.odt"!).
No problem with "Ooo 3.0.1 (DE) Multilingual version English UI WIN XP:
[OOO300m15 (Build 9379)]"
Comment 1 Rainer Bielefeld 2009-04-09 17:17:22 UTC
Created attachment 61494 [details]
Test kit
Comment 2 Rainer Bielefeld 2009-04-10 12:18:06 UTC
This problem makes OOo unusable for me, I have documents with lots of OOo
objects used as icon (always the same) in it, and it's a little annoying to have
to press a confirmation button 100 times to allow to show the same picture 100
times in the document.
Comment 3 Rainer Bielefeld 2009-04-15 14:51:44 UTC
This problem is really annoying for me, normal working with 3.1 is more or less
impossible, because I intensively use linked OLE objects.
Comment 4 michael.ruess 2009-04-15 16:14:11 UTC
MRU->MAV: you just need to insert the same document as linked OLE into a
document and you will get the "File locked" error message. This will also appear
for every object when opening the container document.
It is a nasty regression, OOo 3.0.1 did not give this message.
Comment 5 mikhail.voytenko 2009-04-16 16:24:21 UTC
The fix is ready and will be commited soon in cws mav50.
Comment 6 mikhail.voytenko 2009-04-16 16:56:51 UTC
Fixed in mav50.
Comment 7 mikhail.voytenko 2009-04-17 06:06:52 UTC
mav->mru: Please verify the issue. Please test the original scenario and the
scenario you have mentioned together, they need different parts of the fix.
Comment 8 carsten.driesner 2009-04-17 10:58:09 UTC
cd: Fix reviewed.
Comment 9 michael.ruess 2009-04-17 14:55:58 UTC
Verified fix in CWS mav50.
Comment 10 Rainer Bielefeld 2009-04-29 06:10:57 UTC
I checked with "Ooo 3.1.0 RC2 multilingual version German UI WIN XP: [OOO310m11
(Build 9399)]", problem is no longe visible.