Bug 100406

Summary: DE: Update to external links removes nearly all contents from Rober's Base Guide (and maybe others)
Product: LibreOffice Reporter: Thomas Hackert <thackert>
Component: LocalizationAssignee: Robert Großkopf <robert>
Status: RESOLVED FIXED    
Severity: normal CC: rb.henschel
Priority: medium    
Version: 5.2.0.0.beta2   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:

Description Thomas Hackert 2016-06-15 14:34:52 UTC
Hello @ll,
I hope, I have chosen the right component and such. If not, feel free to change it adequately ... ;)

Steps to reproduce:
1. download Robert's excellent Base Guide from https://wiki.documentfoundation.org/images/d/d8/Base_Gesamtband_einseitig_V51.odt
2. open it in Writer
3. see the dialog "This document contains one or more links to external data..." appearing
4. press <Enter> or click on "Yes"

On my system I am getting a document with 46 pages, where only the headers are visible from page 11 onwards ... :(

OS: Debian Testing AMD64
LO: Version: 5.2.0.0.beta2
Build ID: ae12e6f168ba39f137fc110174a37c482ce68fa4
CPU Threads: 4; OS Version: Linux 4.5; UI Render: default; 
Locale: de-DE (de_DE.UTF-8)

and

LO: Version: 5.1.4.2
Build ID: f99d75f39f1c57ebdd7ffc5f42867c12031db97a
CPU Threads: 4; OS Version: Linux 4.5; UI-Render: default; 
Locale: de-DE (de_DE.UTF-8)

(both parallel installed, following the instructions from https://wiki.documentfoundation.org/Installing_in_parallel/Linux)

Interestingly, opening the same document with Debian's own version of LO
<quote>
Version: 5.1.4.1
Build ID: 1:5.1.4~rc1-1
CPU-Threads: 4; OS Version: Linux 4.5; UI-Render: default; 
Locale: de-DE (de_DE.UTF-8)
</quote>
neither ask to update any external link nor shows this behaviour ...
Have a nice day
Thomas.
Comment 1 Regina Henschel 2016-06-15 19:11:15 UTC
The chapters are in sections, which get their content by linking to external documents. These links use relative addresses and therefore LO searches for the documents on your hard drive, when you agree to update the links. I don't know, what the Debian version of LO does, but with a normal version you must not update the links. You can then break the links in Edit > Links and resave the document with a different name to preserve the whole content for you.

In case you like to keep the links, then you need to download the chapter files as well.

I think, that it is not an error in LibreOffice, but the document should have embedded the chapters already as it provided with label "Gesamtband". Perhaps you ask Robert to upload a version with embedded chapters?
Comment 2 Thomas Hackert 2016-06-16 06:02:51 UTC
Good morning Regina, *,
(In reply to Regina Henschel from comment #1)
> The chapters are in sections, which get their content by linking to external
> documents. These links use relative addresses and therefore LO searches for
> the documents on your hard drive, when you agree to update the links. I
> don't know, what the Debian version of LO does, but with a normal version
> you must not update the links. You can then break the links in Edit > Links
> and resave the document with a different name to preserve the whole content
> for you.
> 
> In case you like to keep the links, then you need to download the chapter
> files as well.
> 
> I think, that it is not an error in LibreOffice, but the document should
> have embedded the chapters already as it provided with label "Gesamtband".
> Perhaps you ask Robert to upload a version with embedded chapters?

thank you very much for your information :) But does it mean, I should close this bug as "Not a bug" or the like?
Have a nice day
Thomas.
Comment 3 Regina Henschel 2016-06-16 10:17:36 UTC
It is a problem not in LibreOffice but in the document itself.

Having a version with linked chapters is not bad as such, because it makes it easier for collaborate editing and for keeping the full guide up-to-date. But it is dangerous for those, who only want to read it. So it might be good to upload a version with embedded chapters in addition, or at least put a warning/information on the Wiki page.

Hi Robert, I have assigned it to you. If you do not have time enough, then please set Assignee back to default.
Comment 4 Robert Großkopf 2016-06-16 20:02:25 UTC
OK, has nothing to do with LO-versions. I have forgotten to unlock the links of the different chapters of the handbook in the exported file of the master-document. Have changed this for Base_Gesamtband_einseitig_V51.odt and Base_Gesamtband_doppelseitig-V51.odt.