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 2018/05/27 10:29:31 UTC

[Bug 57727] XWPFParagraph.searchText may return invalid result when searched string is in more runs

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

Florian Sommer <so...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

--- Comment #2 from Florian Sommer <so...@gmx.de> ---
Hi, I created a testcase and a fixed version of the algorithm for this bug:

https://github.com/fsomme2s/apache-poi-bug57727

Go to test class "BeginCharTest".

Note: In this repo, I also demonstrate and fix a second bug in a second test
case. The bug is that the searchText() method returns null (= not found)
although the searched string is part of the paragraph.
I will create a second bug for this one.

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