You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by GitBox <gi...@apache.org> on 2026/09/20 20:43:39 UTC

[GH] (poi/bug-60895): Workflow run "Java CI with Ant" failed!

The GitHub Actions job "Java CI with Ant" on poi.git/bug-60895 has failed.
Run started by GitHub user pjfanning (triggered by pjfanning).

Head commit for run:
32a21d659a9180323cb96a666ed6d3e0ae2182ef / PJ Fanning <pj...@users.noreply.github.com>
[bug-60895] CellUtil: a changed property keeps the default fill and border instead of adding new ones

Changing one property of a cell with the default style through CellUtil
added a fill and a border to the workbook and made the new style apply
them, although the cell has no fill and no border. Two causes:

- XSSFCellStyle.setFillPattern(NO_FILL) removed the patternType, giving
  <patternFill/>, which is not recognised as Excel's default fill
  <patternFill patternType="none"/>. It now writes "none" like Excel.
- XSSFCellStyle reports BLACK for the color of a side without a border,
  and CellUtil wrote that back, giving a border with colors on every
  side. The color of a side without a border is now neither written nor
  compared when looking for an existing style.

The new style now references fill 0 and border 0 of the workbook.

Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>

Report URL: https://github.com/apache/poi/actions/runs/35536298017

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org