Issue 21623 - Link refreshment defect
Summary: Link refreshment defect
Status: ACCEPTED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-23 16:27 UTC by Unknown
Modified: 2013-08-07 14:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
identity translation form XML exp/imp-filter (312 bytes, text/plain)
2003-10-23 16:29 UTC, Unknown
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2003-10-23 16:27:52 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'
Comment 1 Unknown 2003-10-23 16:29:34 UTC
Created attachment 10586 [details]
identity translation form XML exp/imp-filter
Comment 2 openoffice 2003-10-23 17:10:59 UTC
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?
Comment 3 openoffice 2003-10-28 14:06:32 UTC
Target set to OOo 2.0.

There is a work-around, and it's a fairly exotic situation, so no
1.1.1 target.
Comment 4 openoffice 2004-02-06 16:34:29 UTC
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.)
Comment 5 michael.ruess 2004-05-04 08:37:11 UTC
Problem only happens with FlatXML. Thus target is now "OO later"
Comment 6 Rob Weir 2013-07-30 02:21:02 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.