Created attachment 923839 [details]
[test plan] Import plan's document to same value, system will insert a new version for document.
Description of problem:
Version-Release number of selected component (if applicable):
v3.8.10-1 on devel server.
Steps to Reproduce:
1.Create a plan with document like 'text plan 1 - document'
2.Edit this plan, import the plan's document from odt file, and the file content is the same as the old document like 'text plan 1 - document'
3.Enter plan's document history page, inspect how many versions for this plan.
There are 2 versions for this plan.
There is only 1 version for this plan, because the content for plan's document does not change.
verified, odt document will append some characters around the text, just like <p></p>, all of this will be the whole plan text to do check sum.
so if you type "abc" in web ui, it means <p>abc</p> in database.
and type "abc" in odt, it means <p class="ODT P1">abc</p>, they are different.
we can not remove the element just like <p> because it control the style that plan texts are shown in web ui.
I think it's acceptable.
confirm with dev, the above issue does not happened when import different files with same format, so close the issue.