Issue 56038

Summary: can't modify broken link in master document
Product: Writer Reporter: aziem <ahz001>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: esigra, issues
Version: OOo 2.0Keywords: oooqa
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description aziem 2005-10-15 00:07:35 UTC
In my master document, a link is broken, and exactly nothing happens when I
modify it from the dialog Edit Links.

There may be an easier way to reproduce, but here what I did:
1. Save a text document called <chapter one.odt>.  Close.
2. Create  master document.
3. In the Navigator, insert <chapter one.odt> before Text.
4. Save as <master.odm>.  Close.
5. Rename <chapter 2.odt> to <chapter 1.odt>.
6. Open <master.odm>.
7. Answer Yes to "Update all links?"
8. In the Navigator, <chapter one.odt> is in red indicating its link is broken.
9. Edit->Links
10. Modify button.
11. Select <chapter 1.odt>.
12. Nothing happens.  The old file name is listed in two places in the Edit
Links dialog.  There is no error message.

On the other hand, I /can/ edit the link in the Navigator using right click,
then Edit Link.

My system: 2.0.0 rc2, Windows 2000
Comment 1 michael.ruess 2005-10-17 15:33:46 UTC
Reassigned to ES.
Comment 2 eric.savary 2005-10-18 01:09:07 UTC
Please verify your description.
Point 5): there is no <chapter 2.odt> to rename to <chapter 1.odt>.
So, probably, the document does not exist.
Else, please, attach a sample document.
Feel fre to reoen when you have correct infos..
Comment 3 eric.savary 2005-10-18 01:10:32 UTC
Comment 4 aziem 2005-10-18 01:59:12 UTC
Sorry.  Use this instead:

5. Rename <chapter one.odt> to <chapter 1.odt>.
Comment 5 aziem 2005-12-22 02:44:19 UTC
Keywords: -needmoreinfo (info provided Oct 17), +ooqa
Comment 6 eric.savary 2006-06-12 16:52:24 UTC
I stikk cannot reproduce it in a current 2.0.3.
Please check this in a current version.
Comment 7 eric.savary 2007-03-22 12:09:05 UTC
No answer
Comment 8 eric.savary 2007-03-22 12:09:30 UTC
Comment 9 aziem 2007-03-22 16:18:47 UTC
Today I can still reproduce the bug exactly the same with OOo 2.1 Windows XP.
Comment 10 eric.savary 2007-03-22 16:31:12 UTC
Now I do understand!

The name you see in the Navigator is the name of the section which has been
creating while inserting the document and took its name from the document itself.

It would be a feature to make the section name change according to the document
it is linked with.

If makes sense to implenet this, I don't know...

Reassigned to Requirements
Comment 11 aziem 2007-03-22 16:34:36 UTC
I think it's actually a bug for several reasons.
1. The link is listed wrong two places in Edit->Links.
2. The link is listed wrong in the Navigator.
2. The link is red in the Navigator.
3. The link behaves as broken (not just cosmetic).  To test it, add text to
"chapter 1.odt" and notice it does not show in master document.