You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by "pjfanning (via GitHub)" <gi...@apache.org> on 2026/09/20 17:23:47 UTC
[PR] [bug-64369] regression test: COUNTIF(range,"<>*") counts the non-text cells [poi]
pjfanning opened a new pull request, #1328:
URL: https://github.com/apache/poi/pull/1328
Regression test for https://bz.apache.org/bugzilla/show_bug.cgi?id=64369 — already fixed by #1327 (bug 69853).
`COUNTIF(range,"<>*")` is the "count non-text cells" idiom: `*` matches any text, so `<>*` is every cell that is not text. It always gave 0 because a non-text cell never matched a string criterion, whatever the operator — the same root cause as 69853, where `"<>"` ignored numbers.
The test is the reporter's attached matrix (numbers, texts including ones that look like criteria, a date) checked cell by cell for `"*"` and `"<>*"`, plus the whole-range totals for the five criteria from their test class and a blank cell (not text either). It fails on the commit before #1327 (`expected: <1.0> but was: <0.0>`) and passes on trunk.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org
Re: [PR] [bug-64369] regression test: COUNTIF(range,"<>*") counts the non-text cells [poi]
Posted by "pjfanning (via GitHub)" <gi...@apache.org>.
pjfanning merged PR #1328:
URL: https://github.com/apache/poi/pull/1328
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org