Apache OpenOffice (AOO) Bugzilla – Issue 96378
Opening an OpenOffice 3.x file in OpenOffice 2.x through API pops-up an undesirable dialog saying "OpenOffice.org Update Available"
Last modified: 2017-05-20 10:44:55 UTC
Hi, 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 "openOffice.org 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, Saurabh
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).
TM->CN: please have a look, thanks !
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).
Hi bmarcelly, I think by older version you mean to say the later version of OO :)
-> sauryadb No, I mean 2.3, 2.2, etc, or even 1.1.5. These versions don't display this message.
cn->as: as UnoAPI should never pop up any msg-boxes please have a look.
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.
This is not an update service issue, but an newer document version used issue
@ mba: please have a look.
Please take over; the warning for documents with a newer ODF version needs to become part of the interaction handling
Reset the assignee to the default "issues@openoffice.apache.org".