poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 56254] [PATCH] Reference to named range that does not exist causes exception
Date Sat, 14 Mar 2015 22:37:18 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=56254

--- Comment #1 from Dominik Stadler <dominik.stadler@gmx.at> ---
FYI, the direct case can be done by returning "new
ParseNode(ErrPtg.REF_INVALID);" instead of throwing the Exception.

Note however that this will change what was fixed in bug 47312 as with this the
parser is less strict and will allow invalid formulas that it does reject now. 

While the change makes POI a bit more do whatever Excel does it actually makes
working with the lib less fun in some cases as the error is much more hidden in
a simple #REF! instead of a detailed error message in an Exception.

-- 
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


Mime
View raw message