Bug 66988 - cell.setText(String) only appends text
Summary: cell.setText(String) only appends text
Status: RESOLVED FIXED
Alias: None
Product: POI
Classification: Unclassified
Component: XWPF (show other bugs)
Version: 5.2.3-FINAL
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: POI Developers List
URL:
Keywords:
Depends on:
Blocks: 63624
  Show dependency tree
 
Reported: 2023-08-17 09:35 UTC by aoellerer
Modified: 2023-08-18 13:08 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aoellerer 2023-08-17 09:35:54 UTC
When calling `setText(String)` on an `XWPFTableCell`, the text gets appended instead of replaced, as would be expected in my eyes.
Comment 1 aoellerer 2023-08-17 09:57:40 UTC
https://github.com/apache/poi/pull/503
Comment 2 PJ Fanning 2023-08-18 08:51:20 UTC
Changes merged in r1911749
Comment 3 PJ Fanning 2023-08-18 13:08:58 UTC
fixed broken test with r1911755 - see https://bz.apache.org/bugzilla/show_bug.cgi?id=63624