premStart and permEnd are Changed after Re-saving DOCX using .NET

Hello,
I’m using Aspose for manipulate a docx.
In certain conditions, when a document is loaded then saved, a range permission is altered.

I’ve attached a zip with both docx (original and saved with aspose).

This is the sample code:
Aspose.Words.Document doc = new Aspose.Words.Document(fileName);
doc.UpdateFields();
doc.Save(fileName);

This is a fragment of original document:
<w:sdt>
<w:sdtPr>
<w:rPr>
<w:sz w:val=“16”/>
</w:rPr>
<w:tag w:val=“SelezioneSiNo”/>
<w:id w:val=“520055380”/>
<w:dropDownList>
<w:listItem w:displayText=“Sì” w:value=“Sì”/>
<w:listItem w:displayText=“No” w:value=“No”/>
</w:dropDownList>
</w:sdtPr>
<w:sdtEndPr/>
<w:sdtContent>
<w:permStart w:id=“1186338395” w:edGrp=“everyone”/>
<w:r>
<w:rPr>
<w:sz w:val=“16”/>
</w:rPr>
<w:t>No</w:t>
</w:r>
<w:permEnd w:id=“1186338395”/>
</w:sdtContent>
</w:sdt>

and this the fragment of document saved by Aspose.Words:
<w:sdt>
<w:sdtPr>
<w:rPr>
<w:sz w:val=“16” />
</w:rPr>
<w:tag w:val=“SelezioneSiNo” />
<w:id w:val=“520055380” />
docs.zip (234.9 KB)
<w:dropDownList w:lastValue=“No”>
<w:listItem w:value=“Sì” w:displayText=“Sì” />
<w:listItem w:value=“No” w:displayText=“No” />
</w:dropDownList>
</w:sdtPr>
<w:sdtContent>
<w:permStart w:id=“4” w:edGrp=“everyone” />
<w:permEnd w:id=“4” />
<w:r>
<w:rPr>
<w:sz w:val=“16” />
</w:rPr>
<w:t>No</w:t>
</w:r>
</w:sdtContent>
</w:sdt>

@luciopetrillo

We have logged this problem in our issue tracking system as WORDSNET-21562. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-21562) have been fixed in this Aspose.Words for .NET 21.2 update and this Aspose.Words for Java 21.2 update.