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

POI-3.14で保存する際にPOIに登録されていない数式を指定しても例外が発生しなくなった #93

Closed
mygreen opened this issue Dec 23, 2016 · 2 comments
Labels
Milestone

Comments

@mygreen
Copy link
Owner

mygreen commented Dec 23, 2016

POI-3.14以降で適当な関数 TEST(A2) を含んだ数式を設定しても、例外が発生しなくなった。
テスタ AnnoFormulaTest.test_error_wrongFormula_forExcel() が失敗するようになった。

@mygreen
Copy link
Owner Author

mygreen commented Dec 23, 2016

POI-3.14からPOIがサポートしていない関数を Cell#setCellFormaula(...) で設定しただけではエラーとならなくなった。
FormulaEvaluator でセルの値を評価すれば例外が発生する。

POIのissue58746で対応されている

@mygreen mygreen changed the title POI-3.14で保存する際に不正な数式を指定しても例外が発生しなくなった POI-3.14で保存する際にPOIに登録されていない数式を指定しても例外が発生しなくなった Dec 23, 2016
@mygreen
Copy link
Owner Author

mygreen commented Dec 23, 2016

テストケースを変更し、非サポートの関数ではなく、数式として不正なパターンでテストするようにする。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant