Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 91381 invoked from network); 26 Mar 2008 18:45:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2008 18:45:53 -0000 Received: (qmail 30451 invoked by uid 500); 26 Mar 2008 18:45:51 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 30425 invoked by uid 500); 26 Mar 2008 18:45:51 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 30412 invoked by uid 99); 26 Mar 2008 18:45:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 11:45:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Mar 2008 18:45:20 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id AA271234C0AC; Wed, 26 Mar 2008 11:43:43 -0700 (PDT) From: bugzilla@apache.org To: dev@poi.apache.org Subject: DO NOT REPLY [Bug 44677] COUNTA function gives incorrect result X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: POI X-Bugzilla-Component: HSSF X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: josh@gildedtree.com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@poi.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: In-Reply-To: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Message-Id: <20080326184343.AA271234C0AC@brutus.apache.org> Date: Wed, 26 Mar 2008 11:43:43 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=44677 --- Comment #1 from Josh Micich 2008-03-26 11:43:43 PST --- POI currently saves these formulas with tokens of tAreaV(0x45) instead of tAreaR (0x25). In my excel (2007) I observe *both* formulas to be wrong at first (A4=0, A5=1, until re-entered). It looks like the problem is in FormulaParser.setParameterRVA(Node, int) Commenting out the call to that method seems to fix this bug, but that is not a proper solution. Without that call, the token classes of all parsed formulas will stay at 'reference', which is probably wrong for other formulas. This functionality is related to the 'Token Class Transformation' section (3.2.4) of excelfileformat.pdf. This logic seems to be partially implemented in POI but since there are no junits, it's probably not very stable yet. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org