https://bugs.documentfoundation.org/show_bug.cgi?id=126255
Eike Rathke <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Assignee|[email protected] |[email protected]
|desktop.org |
Status|NEW |ASSIGNED
--- Comment #5 from Eike Rathke <[email protected]> ---
(In reply to Jan-Marek Glogowski from comment #0)
> <text:a xlink:href="../xlsx/databar.xlsx"
> xlink:type="simple">/devel/libo/libo1/sc/qa/unit/data/xlsx/databar.xlsx</
> text:a>
>
> For me LO fails to open the link, because it resolves the wrong target.
>
> origin: /libreoffice/sc/qa/unit/data/ods/fdo79305.ods
> target: /libreoffice/sc/qa/unit/data/ods/xlsx/databar.xlsx
> - an ods too much.
Given the xlink:href="../xlsx/databar.xlsx" the target is correct, it's not
one ods too much but one ../ too little in the href. The first ../ escapes the
ODF package (.ods) so to target a file ../xlsx/databar.xlsx relative to the
current file it should be xlink:href="../../xlsx/databar.xlsx" instead.
That's exactly what my follow-up commit
https://cgit.freedesktop.org/libreoffice/core/commit/?id=bc3b62e25eb0c3921fa600e80eeb314e45ecaaef
to bug 79305 addressed, but the test document wasn't adapted.
I have no adhoc idea why the test apparently failed only on Windows if the
target doesn't exist. I'll correct the test document and revert the temporary
"fix" and then remove the #if !defined _WIN32 to see if Windows boxes still
stumble upon.
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs