[Bug 62108] ArrayIndexOfBounds exception when getColumnWidth()

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62108

--- Comment #10 from Dominik Stadler  ---
See also r1824826

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 62108] ArrayIndexOfBounds exception when getColumnWidth()

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62108

Dominik Stadler  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEEDINFO|RESOLVED

--- Comment #9 from Dominik Stadler  ---
The code that is involved in the stacktrace in the original report now uses int
and style.getFontIndexAsInt(), so the casting to short does not happen any
more. 

If there is still a problem please report a new bug with a reproducible
test-case as reproducing the problem seems to be harder than thought.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 62242] Shouldn't show '0' if number format is "??" and cell value is 0

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62242

--- Comment #8 from Dominik Stadler  ---
When trying to apply the changes from the PR it fixes the issue here, but some
other tests fail, so unfortunately this needs a bit more work to either change
the tests or the fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 64204] Replace Closeable with AutoCloseable

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64204

Andreas Beeker  changed:

   What|Removed |Added

 Resolution|--- |INVALID
 Status|NEW |RESOLVED

--- Comment #1 from Andreas Beeker  ---
Sorry for the noise. Closeable extends AutoCloseable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 64204] New: Replace Closeable with AutoCloseable

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64204

Bug ID: 64204
   Summary: Replace Closeable with AutoCloseable
   Product: POI
   Version: 4.1.x-dev
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: POI Overall
  Assignee: dev@poi.apache.org
  Reporter: kiwiwi...@apache.org
  Target Milestone: ---

I've just realized, that implementing Closeable is not enough to be closed in
try-with-resources blocks.

We should switch to AutoCloseable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 62619] Cell Style and format is Lost for Excel in Latter versions of Ms office 2010

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62619

Dominik Stadler  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |LATER

--- Comment #2 from Dominik Stadler  ---
We never got more information on this one, so closing for now, please reopen
with enough information to reproduce this problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 62865] Dot in user-defined number format is removed

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62865

Dominik Stadler  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|NEW |RESOLVED

--- Comment #1 from Dominik Stadler  ---
This works for me in the current version of POI (4.1.3-SNAPSHOT), verified with
the following snippet:

CellFormat cf = CellFormat.getInstance("\"ca. \"0");
assertEquals("ca. 5", cf.apply((double) 5).text);

Please reopen this issue and attach a self-sufficient test-case which shows the
problem if this still does not work for you.

Please note that entering a format in a German/European Excel might actually
store the format differently in the Excel file itself as Excel "converts" this
to US-format internally for multi-national support,

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 62242] Shouldn't show '0' if number format is "??" and cell value is 0

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62242

Dominik Stadler  changed:

   What|Removed |Added

 CC||cgh_c...@126.com

--- Comment #7 from Dominik Stadler  ---
*** Bug 59433 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 59433] Account special format not processed when value is 0 (zero)

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=59433

Dominik Stadler  changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #3 from Dominik Stadler  ---
This is handled in bug #62242 as well and there a PR is already discussed, so
duplicating this one.

*** This bug has been marked as a duplicate of bug 62242 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org



[Bug 64179] [PATCH] Fix TestCellFormat.testApplyObjectDate() fail in different time zone

2020-03-07 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=64179

Dominik Stadler  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #6 from Dominik Stadler  ---
Applied via r1874949, thanks for the Patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org