Issue 96378 - Opening an OpenOffice 3.x file in OpenOffice 2.x through API pops-up an undesirable dialog saying " Update Available"
Summary: Opening an OpenOffice 3.x file in OpenOffice 2.x through API pops-up an unde...
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.4.1 RC2
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Keywords: needhelp
Depends on:
Reported: 2008-11-20 09:47 UTC by sauryadb
Modified: 2017-05-20 10:44 UTC (History)
5 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description sauryadb 2008-11-20 09:47:26 UTC

I have an .odt file made using OpenOffice 3.0.
Now I am trying to open this document on a machine which has OpenOffice 2.4
installed on it programmatically using openOfice APIs. I am using
"XComponentLoader.loadComponentFromURL()" to open the document and create an
"XComponent" object represint the input document. Now doing this pops-up an
window sayin " Update Avaliable" with 2 option buttons "update
now.." and  "later".

Now getting this pop-up dialog is undesirable when we are invoking OpenOffice
APIs to open the document.There should be some progrmmatic way to dismiss this
dialog. For example it will be much helpful if we can set some flag in some API
to avoid this dialog and open the OpenOffice 3.0 file in OpenOffice 2.4 (by
internally performing the clicking of "later" button) .

Please provide a resolution to handle this.

Thanks & Regards,
Comment 1 sauryadb 2008-11-20 09:52:31 UTC
Moreover this change in the code-base of OpenOffice should be propagated to the
later versions also. For example it should be take care of that no such issue
comes later when we try to open an OpenOffice 3.x document in OpenOffice 4.x(to
be release some time in future).
Comment 2 thorsten.martens 2008-11-20 10:41:07 UTC
TM->CN: please have a look, thanks !
Comment 3 bmarcelly 2008-11-21 09:04:42 UTC
This problem should have been resolved by Issue 89151.

Despite what is said in Issue 89151 the message still appears in 2.4.2 even if the 
option "Check for updates automatically" is un-checked.
Currently the only solution is to use an OpenOffice version older than 2.4.

The message also appears using loadComponentFromUrl()  with option "Hidden" = True.

For the same reason I have reopened my Issue 89105 (which questioned the user impact, 
not the API impact).
Comment 4 sauryadb 2008-11-21 09:31:24 UTC
Hi  bmarcelly,
I think by older version you mean to say the later version of OO :)
Comment 5 bmarcelly 2008-11-21 10:52:38 UTC
-> sauryadb
No, I mean 2.3, 2.2, etc, or even 1.1.5. These versions don't display this message.
Comment 6 chne 2008-11-24 10:15:01 UTC
cn->as: as UnoAPI should never pop up any msg-boxes please have a look.
Comment 7 andreas.schluens 2008-11-24 12:40:19 UTC
as->dv: Please take over these task ... and make sure that those dialog isnt
shown in that case. How you can reach that ? Ask me for further details :-)
Might be you listen for the wrong set of Document events or registered your Job
(if I remember right your update service was registered as such Job) for the
wrong set of events. 
Comment 8 dirk.voelzke 2008-12-05 09:19:01 UTC
This is not an update service issue, but an newer document version used issue
Comment 9 Olaf Felka 2009-04-30 07:13:02 UTC
@ mba: please have a look.
Comment 10 Mathias_Bauer 2009-04-30 10:23:07 UTC
Please take over; the warning for documents with a newer ODF version needs to
become part of the interaction handling
Comment 11 Marcus 2017-05-20 10:44:55 UTC
Reset the assignee to the default "".