You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2023/08/17 09:35:54 UTC

[Bug 66988] New: cell.setText(String) only appends text

https://bz.apache.org/bugzilla/show_bug.cgi?id=66988

            Bug ID: 66988
           Summary: cell.setText(String) only appends text
           Product: POI
           Version: 5.2.3-FINAL
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XWPF
          Assignee: dev@poi.apache.org
          Reporter: aoellerer@protonmail.com
  Target Milestone: ---

When calling `setText(String)` on an `XWPFTableCell`, the text gets appended
instead of replaced, as would be expected in my eyes.

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


[Bug 66988] cell.setText(String) only appends text

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66988

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from PJ Fanning <fa...@yahoo.com> ---
Changes merged in r1911749

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


[Bug 66988] cell.setText(String) only appends text

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66988

PJ Fanning <fa...@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |63624


Referenced Bugs:

https://bz.apache.org/bugzilla/show_bug.cgi?id=63624
[Bug 63624] XWPFTableCell.setText() returns empty when no paragraph is created
-- 
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


[Bug 66988] cell.setText(String) only appends text

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66988

--- Comment #1 from aoellerer@protonmail.com ---
https://github.com/apache/poi/pull/503

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


[Bug 66988] cell.setText(String) only appends text

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=66988

--- Comment #3 from PJ Fanning <fa...@yahoo.com> ---
fixed broken test with r1911755 - see
https://bz.apache.org/bugzilla/show_bug.cgi?id=63624

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