[Libreoffice-bugs] [Bug 70234] FILESAVE: DOC/ DOCX - Track change of fields not saved correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 9 13:54:04 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=70234

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |dataLoss
                 CC|                            |lo_bugs at iseries-guru.com,
                   |                            |raal at post.cz,
                   |                            |xiscofauli at libreoffice.org

--- Comment #7 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
Comment 6 covered attachment 87241 and the page number field. Things are worse
for attachment 87243 and the input field.

Similar to the page number field, in 4.1 the <w:del> tag is only being placed
around the first run element for the input field, but in 4.2 and above the
entire field gets removed from export.

4.1

<w:pPr>
  <...>
<w:del ... w:id="0">
  <w:r>
    <w:rPr></w:rPr>
    <w:fldChar w:fldCharType="begin"></w:fldChar>
  </w:r>
</w:del> <-- the 4.1 bug mentioned in comment 6
<w:r>
  <w:instrText>FILLIN "example"</w:instrText>
</w:r>
<w:r>
  <w:fldChar w:fldCharType="separate" />
</w:r>
<w:r>
  <w:t>Example</w:t>
  <w:br />
</w:r>
<w:r>
  <w:fldChar w:fldCharType="end" />
</w:r>
<w:r>
  <w:rPr></w:rPr>
  <w:fldChar w:fldCharType="begin"></w:fldChar>
</w:r>
<w:r>
  <w:instrText>FILLIN "example"</w:instrText>
</w:r>
<w:r>
  <w:fldChar w:fldCharType="separate" />
</w:r>
<w:r></w:r>
<w:r>
  <w:fldChar w:fldCharType="end" />
</w:r>
</w:p>

4.2 and above

<w:p>
  <...>
  <w:del w:id="0" ...>
    <w:r>
      <w:rPr></w:rPr>
    </w:r>
  </w:del>
  <w:r>
    <w:rPr></w:rPr>
  </w:r>
</w:p>

@Xisco, @Raal, @Terrence: Would appreciate if any of you could bibisect both
the 4.1 regression and 4.2 dataloss.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170509/0202a7e7/attachment-0001.html>


More information about the Libreoffice-bugs mailing list