Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workbook Evaluator bug fix on checking an IF without a third param #1176

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

fred2020-net
Copy link
Contributor

evaluation stack not empty is throwed when using an IF without a third param

formula example:
=IF(C37="8E";"CH8E-1";IF(C37="8F";"CH8F-2"))

in case of FALSE of condition C37="8E" then the exception is thrown.

Solution found on looking at the source code:
https://svn.apache.org/repos/asf/poi/trunk/poi/src/main/java/org/apache/poi/ss/formula/WorkbookEvaluator.java

Bug introduced in this commit:
e3ba38b#r126492380

@tonyqus tonyqus self-requested a review September 5, 2023 13:25
@fred2020-net
Copy link
Contributor Author

Hello @tonyqus
Do you plan to merge this pull request soon ?
Thanks for your support.

@tonyqus
Copy link
Member

tonyqus commented Sep 19, 2023

@fred2020-net Yeah, I'll review this ticket this week or next week.

But please understand that 2.7.0 is not a release happening soon. 2.6.2 is just released last week. Usually, it takes 3-5 month to have another release. So far, NPOI is still a free component under Apache 2.0 license. I use my spare time to maintain it and in other words, it's a hobby project.

If NPOI changes license to commercial in the future, the situation can be different. We will have promise on commercial clients and will have a fixed release cycle (for example, monthly release or even biweekly release).

@tonyqus
Copy link
Member

tonyqus commented Oct 11, 2023

LGTM

@tonyqus tonyqus merged commit 0aee9bd into nissl-lab:master Oct 11, 2023
2 checks passed
@tonyqus tonyqus added the bug label Dec 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants