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

            Bug ID: 162094
           Summary: UCB FileContent getPropertySetInfo command returns
                    sometimes an exotic array
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

The UCB FileContent getPropertySetInfo command returns most of the time a
correct array of 15 structures com.sun.star.beans.Property.
>From time to time, it returns a strange array of only 5 properties, named
"sfCR", "sfCRLF", "srLF", "sfNEWLINE", "sfTAB".

The code is (simplified) :
URL         = "file:///D:/OVH/afile.ods"
ucbBroker   = CreateUnoService("com.sun.star.ucb.UniversalContentBroker")
fileID      = ucbBroker.createContentIdentifier(URL)
ucbContent  = ucbBroker.queryContent(fileID) 

Dim command as new com.sun.star.ucb.Command
command.Name     = "getPropertySetInfo"
command.Handle   = -1
command.Argument = Nothing
propSet          = ucbContent.execute(command, 0, Nothing)
properties       = propSet.getProperties()

I have observed the anomaly randomly several times, on LibreOffice 7.5 first,
and now on LibreOffice 24.2.5.2, but have been enable to reproduce it.

When the error occurs once, it then repeats each time I run the program until I
quit and reload LibreOffice.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to