[Libreoffice-bugs] [Bug 126864] New: Throws exception when removing .zip file extension via extension manager

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 13 02:18:10 UTC 2019


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

            Bug ID: 126864
           Summary: Throws exception when removing .zip file extension via
                    extension manager
           Product: LibreOffice
           Version: 6.2.0.3 release
          Hardware: x86 (IA32)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Extensions
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: adrianjgrady at gmail.com

Description:
After loading a .zip file as an extension and then attempting to remove it,
LibreOffice will display the standard warning(You are about to remove the
extension 'Libo_PlantUML-master.zip'.
Click 'OK' to remove the extension.
Click 'Cancel' to stop removing the extension.)
When "OK" is pressed, it will throw the following exception
(com.sun.star.lang.IllegalArgumentException) { { { Message = "Cannot detect
media-type:
file:///C:/Users/Play/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/uno_packages/lu16816v9oehy.tmp_/Libo_PlantUML-master.zip",
Context = (com.sun.star.uno.XInterface) @23a22b80c70 } }, ArgumentPosition =
(short) -1 }
This does not occur when removing valid, non-.zip extensions.

Steps to Reproduce:
1.Load .zip file as extension via extension manager
2.Attempt to remove said .zip file via extension manager
3.Press "OK" on warning to proceed

Actual Results:
Throws the following exception
(com.sun.star.lang.IllegalArgumentException) { { { Message = "Cannot detect
media-type:
file:///C:/Users/Play/AppData/Roaming/LibreOffice/4/user/uno_packages/cache/uno_packages/lu16816v9oehy.tmp_/Libo_PlantUML-master.zip",
Context = (com.sun.star.uno.XInterface) @23a22b80c70 } }, ArgumentPosition =
(short) -1 }

Expected Results:
Removes the extension


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.2.0.3 (x64)
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

-- 
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/20190813/e3a9e1cf/attachment.html>


More information about the Libreoffice-bugs mailing list