[Libreoffice-bugs] [Bug 134719] New: UITestLogger may be broken at least on Windows

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 10 16:05:10 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=134719

            Bug ID: 134719
           Summary: UITestLogger may be broken at least on Windows
           Product: LibreOffice
           Version: 7.1.0.0.alpha0+ Master
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: himajin100000 at gmail.com

Description:
see steps to reproduce

Steps to Reproduce:
1. set LO_COLLECT_UIINFO to uitest.log
2. Launch Writer
3. hit some keys

Actual Results:
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest exists.
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest\uitest.log
doesn't.

"Command line" field in "SysInternals Process Monitor" says

"C:\Program Files\LibreOffice\v7.1.0.0\20200709\program\soffice.exe"
"-env:OOO_CWD=2C:\\Program Files\\LibreOffice\\v7.1.0.0\\20200709"

, with correct installation path on my PC.

but "Path" field says
C:\Program
Files\LibreOffice\v7.1.0.0\20200709\program\file:\C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest\uitest.log

"Result" field says
NAME INVALID

Expected Results:
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest exists.
C:\Users\himajin1000000\AppData\Roaming\LibreOfficeDev\4\uitest\uitest.log
exists.


Reproducible: Always


User Profile Reset: No



Additional Info:
from boot.ini

UserInstallation=$SYSUSERCONFIG/LibreOfficeDev/4

---

https://opengrok.libreoffice.org/xref/core/vcl/source/uitest/logger.cxx?r=7b14b4b3#69

My guess: 

osl::Directory::createPath changes aDirPath to a URL that begins with file:

and

maStream.Open(aFilePath, StreamMode::READWRITE | StreamMode::TRUNC);

thinks such a URL as a relative one, not an absolute one?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200710/1462bf49/attachment.htm>


More information about the Libreoffice-bugs mailing list