https://bugs.freedesktop.org/show_bug.cgi?id=88326

            Bug ID: 88326
           Summary: headless --convert-to should not fail silently if
                    invalid filtername
           Product: LibreOffice
           Version: 4.2.4.2 release
          Hardware: Other
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

converting a sourcefile unsing convert-to in headless mode

if command fails (due to invalid filtername)
- the return code is still 0 
- the message converting sourcefile --> sourcefile.<filterName> using <no
filtername indicated>
- a copy of source file renamed to sourcefile.<filterName>

working eg.

$soffice --headless --convert-to pdf ./myFile.txt
convert /path/to/file/myFile.txt -> /path/to/file/myFile.pdf using
writer_pdf_Export

$echo $?
0

NON working eg.

$soffice --headless --convert-to aDummyFilterName ./myFile.txt
convert /path/to/file/myFile.txt -> /path/to/file/myFile.aDummyFilterName using 

$echo $?
0

==> the return of the non working example should not be 0

==> any code pointer welcomed

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to