Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6B0DB9658 for ; Tue, 12 Jun 2012 14:02:10 +0000 (UTC) Received: (qmail 37000 invoked by uid 500); 12 Jun 2012 14:02:10 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 36919 invoked by uid 500); 12 Jun 2012 14:02:10 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 36911 invoked by uid 99); 12 Jun 2012 14:02:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 14:02:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of orwittmann@googlemail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bk0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jun 2012 14:02:02 +0000 Received: by bkcjm2 with SMTP id jm2so4299184bkc.6 for ; Tue, 12 Jun 2012 07:01:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=AbkFNwqikniPCnM82h+w4jHj4n93Dhv2ZD4r5/LA87Q=; b=lYOkfGG9KnrQIhHJy6h4jwUxm1jnEZZjKosffmO8wS1grZetMLlxBabZa12WfbWyth 5xrrs5h0Fx1Wgu/Q4WPaUrX43mlbWV/VNtwfGr7iqDSI6uqTigb1IiwwTDggIRHHf6kn Kkt8q0QqLse+vFLAFVWM6UNJASWfNSXOyN7HiGi+Ti0WGGPRLnsuynaxZvg3vepXIO6z elNWq0xZeSUUkmJjnPE7LIqGZ8KOnCZwKLsSfOidnLzNDO29ef8qv2Ta/kDmNLAbQqKa +xCO4AN0dM4PjqQlO3sFZt2Egi8TaImby/Tu/y9x6HEEWnYzNWCAiMeDSDCgA3RRPL7G 5s3A== Received: by 10.205.132.13 with SMTP id hs13mr12346594bkc.78.1339509702029; Tue, 12 Jun 2012 07:01:42 -0700 (PDT) Received: from [9.155.131.111] (deibp9eh1--blueice2n2.emea.ibm.com. [195.212.29.172]) by mx.google.com with ESMTPS id 9sm20533790bku.9.2012.06.12.07.01.40 (version=SSLv3 cipher=OTHER); Tue, 12 Jun 2012 07:01:41 -0700 (PDT) Message-ID: <4FD74BC3.5060202@googlemail.com> Date: Tue, 12 Jun 2012 16:01:39 +0200 From: Oliver-Rainer Wittmann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: [UPDATE SERVICE] Update with ODFNOTIFYURL References: <4FD0CCB7.3020006@t-online.de> <4FD0CF8F.8040002@googlemail.com> In-Reply-To: <4FD0CF8F.8040002@googlemail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, On 07.06.2012 17:58, Oliver-Rainer Wittmann wrote: > Hi, > > On 07.06.2012 17:45, Regina Henschel wrote: >> Hi, >> >> If you open an ODF 1.2 document in OOo2.4.3, you get the message, that a newer >> version is available. In German the text is "Dieses Dokument wurde mit einer >> neueren Version..." The message box has a button "Jetzt aktualisieren" (means >> "Update now"). >> If you click the bottom it tries to connect to >> http://odfnotify.services.openoffice.org/OOo2.4.3/notification.jsp?version=ODF1.2 >> which fails. >> >> I don't know whether OOo2.4.3 is used somewhere out. But the same problem will >> arise with the change to ODF1.3, because for the actual parameter >> ODFNOTIFYURL >> http://odfnotify.services.openoffice.org/OOo3.0/notification.jsp?version=ODF >> the connections fails in the same way. >> > > Thanks for the hint. > > I hope I find the time to have a look - may be I will create a "fake" ODF 1.3 > document in order to investigate this functionality. > > I have figured out the following: (1) The "ODFNotifyURL" is read from the version.ini resp. versionrc file when the user confirms the notification dialog with clicking button "Update Now...". (2) I have installed all OOo versions from OOo 3.0 until OOo 3.4 Beta on my Windows 7 machine. None of them contains a "ODFNotifyURL" field in the version.ini resp. versionrc file. (3) In the current code a possible existing "ODFNotifyURL" value will not be used, because an additional needed field - the ODF version number of the read ODF document - is not set. Looking at the history of the corresponding code it looks like that it has not been changed on the OOo 3.x code line. (4) The "Check for Updates" function is finally triggered, because the "ODFNotifyURL" and the additional ODF version number are not set. My conclusion: We do not have to take care of the "ODFNotifyURL" for OOo 3.x versions and our AOO 3.4 version. Thus, I am planning to remove the whole stuff around "ODFNotifyURL" from our current code base for the next major version. Best regards, Oliver.