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@lists.freedesktop.org
          Reporter: adrianjgr...@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.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to