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 94BD09994 for ; Sat, 3 Mar 2012 17:19:58 +0000 (UTC) Received: (qmail 57086 invoked by uid 500); 3 Mar 2012 17:19:58 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 57030 invoked by uid 500); 3 Mar 2012 17:19:58 -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 57022 invoked by uid 99); 3 Mar 2012 17:19:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 03 Mar 2012 17:19:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [98.139.212.180] (HELO nm21.bullet.mail.bf1.yahoo.com) (98.139.212.180) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 03 Mar 2012 17:19:47 +0000 Received: from [98.139.215.141] by nm21.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2012 17:19:26 -0000 Received: from [98.139.213.13] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 03 Mar 2012 17:19:26 -0000 Received: from [127.0.0.1] by smtp113.mail.bf1.yahoo.com with NNFMP; 03 Mar 2012 17:19:26 -0000 X-Yahoo-Newman-Id: 891194.13617.bm@smtp113.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: QQk0QxoVM1mH0AUT55knxMNZM1tQoYfH6JtRNm1nGZbYMyx p4YYsIop4pS7mRVH4sMRibUeYwaYj6DRvBQrMq68yH1T942Kp6oU.cL4bipD fO1GPeXd2cuXbcC3TgOLjgjhTFJSyPrJaaMY4yVw8eK4hR_W1Xb_TdeY.sXX hv9r0VhqzqacdMoYfKzPZ3mCC.GWqsQw0wREunTzyE32zXSATD_ggwftXRyb NYnkUnxGmND_q2ivNhumaVDOApksL3eXU0qs.UikwP3_CehD7hZphC6AzKsx HReXNVlIomhZbi0.Gp4jZoBhtElKRN0O0uz3h_3AZVUr0DpgZPAxqikOD9Wg kUJDhbCBL1bQ1HdI09RxxrJSi2CKTHJMYt0MhpNQm.1vgde7M6sl__0NKtsh WE9GjVNlnFCOVhBGB6mJ5YtGVvm7fUKZ9Jw.9jC26AOXCOM6E79ITZQ-- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf Received: from [192.168.10.102] (pfg@200.118.157.7 with plain) by smtp113.mail.bf1.yahoo.com with SMTP; 03 Mar 2012 09:19:26 -0800 PST Message-ID: <4F52529D.80701@apache.org> Date: Sat, 03 Mar 2012 12:19:25 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120226 Thunderbird/10.0.2 MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: Nominate release blocker: 118999 - Leap year not correctly calculated References: <4F5201D3.9060905@apache.org> <1330784491.35146.YahooMailClassic@web113520.mail.gq1.yahoo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 03/03/12 10:12, Rob Weir wrote: > On Sat, Mar 3, 2012 at 9:21 AM, Pedro Giffuni wrote: >> Hello; >> >> --- Sab 3/3/12, Andrea Pescetti ha scritto: >> >>> Issue 118999 is about a bug in an >>> integrated CWS, that fails to understand 29/2/2000 >>> correctly: >>> https://issues.apache.org/ooo/show_bug.cgi?id=118999 >>> >>> It is a regression with respect to OOo 3.3.0 and has a >>> trivial fix, posted by Pedro (thanks!). >>> >>> The fix should definitely be integrated in 3.4. >>> >> Looking at this issue: >> >> https://issues.apache.org/ooo/show_bug.cgi?id=25987 >> >> I got to the conclusion that this is a long standing >> bug that has been mutating for some time. >> >> I think that the fix is safe and I would have just >> gone ahead and committed it if we weren't so near a >> release. Of course I have been breaking the build >> more than once lately so I am sure some self-discipline >> from my side during these days is appreciated ;-). >> >> In any case, I don't think this is technically a >> release blocker but I think we could just apply it. >> > Are we sue that fixing this bug doesn't bring in another bug? I'd > worry that there is other code compensating for this bug and that > fixing in one place introduces a new bug. Are we wiling to retest > all date-related calculations, including financial functions, date > arithmetic, etc., I think you are lacking an understanding of the issue. We are replacing a wrong formula with a correct one and by sheer "luck" the previous formula only produced bad results for 1 day every 400 years. I don't think any financial function, etc, depends on the leap year calculation but even then I doubt it has the consecuences you are trying to imply. > I'd be far more confident if we had a test document that did a > comprehensive test of date calculations, including leap year > calculations. I personally think that's a waste of time just for this function, but yes, in general it would be nice to have a regression test suite for all these functions. Such tests are much more useful when someone unbiased, (like someone different from the one that fixed it) does it. So please just go ahead: the BZ report includes an important date for your tests. Pedro.