Bug 145883

Summary: The update of extension doesn't work in Windows.
Product: LibreOffice Reporter: lachend
Component: ExtensionsAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: ilmari.lauhakangas, lachend
Priority: medium    
Version: 7.2.0.4 release   
Hardware: All   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: Ext version in *Manager
the process of updating

Description lachend 2021-11-25 08:16:21 UTC
Description:
"Ukrainian spelling dictionary, hyphenation, and thesaurus" can be updated in Linux, but in LO for Windows it doesn't update.
The initial its' version after installation - 5.3.1
For now the new version - 5.5.2 https://extensions.libreoffice.org/en/extensions/show/ukrainian-spelling-dictionary-and-thesaurus

Steps to Reproduce:
1. Enter in "Extension manager"
2. Try to update the Ukrainian spelling dictionary, hyphenation, and thesaurus.
3.

Actual Results:
The search doesn't find any updates.

Expected Results:
There must be updates! :)


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.4 (x64) / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: uk-UA (uk_UA); UI: en-US
Calc: CL
Comment 1 lachend 2021-11-25 08:20:29 UTC
Created attachment 176489 [details]
Ext version in *Manager
Comment 2 Buovjaga 2022-11-24 12:10:24 UTC
I installed version 5.3.1 and updating to 5.9.0 through the extension manager worked fine.

Can you re-test it?

Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 651658d37bcb3f493942dd5d0b9a0d65c96f105c
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded Jumbo
Comment 3 lachend 2022-12-03 13:52:32 UTC
Created attachment 183976 [details]
the process of updating
Comment 4 lachend 2022-12-03 13:59:00 UTC
The update process in LO v.7.4.3.2 doesn't work. Version 5.8 can't be updated to 5.9. See GIF video.
I've installed LO on a 'fresh' notebook.

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: uk-UA (uk_UA); UI: uk-UA
Calc: threaded
Comment 5 Buovjaga 2022-12-03 17:42:03 UTC
Update 5.8 -> 5.9 worked for me now with

Version: 7.4.3.2 (x64) / LibreOffice Community
Build ID: 1048a8393ae2eeec98dff31b5c133c5f1d08b890
CPU threads: 2; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 6 lachend 2022-12-03 19:21:48 UTC
Buovjaga, I noticed you mentioned about separate installation of the extension.
Maybe the problem is in the bundled extension?
If I install it from the website, it does update.
For this reason, something happens when packing it to an *.msi file.
Comment 7 Buovjaga 2022-12-03 19:50:07 UTC
(In reply to lachend from comment #6)
> Buovjaga, I noticed you mentioned about separate installation of the
> extension.
> Maybe the problem is in the bundled extension?
> If I install it from the website, it does update.
> For this reason, something happens when packing it to an *.msi file.

Can you tell me the exact steps I need to do to see the problem?
Comment 8 lachend 2022-12-03 21:36:56 UTC
1.Install LO for Windows with Ukrainian UI.
2. Open LO Writer. 
3. Go to "Extension manager" (Керування розширеннями) 
4.  Select the Ukrainian spellchecker (Український орфографічний словник...) from ВЕСУМ publisher. 
5. push the button "Find updates" (Перевірити наявність оновлень)

Expected results: there must be updates!
Comment 9 Buovjaga 2022-12-04 08:43:14 UTC
(In reply to lachend from comment #8)
> 1.Install LO for Windows with Ukrainian UI.
> 2. Open LO Writer. 
> 3. Go to "Extension manager" (Керування розширеннями) 
> 4.  Select the Ukrainian spellchecker (Український орфографічний словник...)
> from ВЕСУМ publisher. 
> 5. push the button "Find updates" (Перевірити наявність оновлень)
> 
> Expected results: there must be updates!

Ok, I confirm that if I install Ukrainian dictionary with the LibreOffice installer, I can't update it. But maybe it's supposed to be that way as it is bundled with LibreOffice, I have to ask developers.
Comment 10 Buovjaga 2022-12-04 08:55:24 UTC
Mike Kaganski commented that it's expected, so I will close:

C:\Program Files\LibreOffice\share\extensions\dict-uk\description.xml does not contain "update-information" element, unlike the respective file in the OXT package. OTOH, it is rather expected, given that bundled extensions are installed into Program Files

Normal user would not be able to update; and if updated, the next LibreOffice update would rewrite the updated extension