Apache OpenOffice (AOO) Bugzilla – Issue 21623
Link refreshment defect
Last modified: 2013-08-07 14:38:26 UTC
When exporting to a flat XML-file with an identity translation and afterwards linking to that file results in a incorrect refresh behaviour. Reading and writing a single flat XML-file seems to work fine. I can even 'insert' a section that links to another flat XML-file. If now I change the inserted document the problem occurs. If the target document is opened again it reloads the reference and inserts the content before the copy of the former version: Outcome in the target document: <text:section text:style-name="Sect1" text:name="Section1" text:protected="true"> <text:section-source xlink:href="file:///F:/projekte/snox/flat/source.xio" text:filter-name="XML In One Document"/> <text:p text:style-name="Standard">To be imported, changedTo be imported</text:p> </text:section> where in the source document 'To be imported' Has been changed to: 'To be imported, changed'
Created attachment 10586 [details] identity translation form XML exp/imp-filter
dvo: Work-around: Use Edit->Links->Update. I could only reproduce the problem if both the host doc and the linked document used the XSLT filter. Apparently, reloading the section doesn't clear the previous section content in some circumstances. So to reproduce, do: 1) register the provided XSLT as an XML Import/Export filter. 2) create a simple one paragraph document, save using 1) 3) create host document, insert 2) as linked section 4) save & close 3), using 1) 5) change document 2) 6) open document 3) --> the section contains the new content plus the old content dvo->QA: Which target? 1.1.1 or 2.0?
Target set to OOo 2.0. There is a work-around, and it's a fairly exotic situation, so no 1.1.1 target.
Changed priority: P3. I'd like to fix this for OOo 2.0, but the issue doesn't match rules for priority 2 (i.e. crash, loss of information, or major functionality loss.)
Problem only happens with FlatXML. Thus target is now "OO later"
Reset assignee on issues not touched by assignee in more than 2000 days.