Download it now!
Bug 132901 - Tools > Options > LibreOffice > Online update does not handle the situation of "online update" feature not being installed gracefully
Summary: Tools > Options > LibreOffice > Online update does not handle the situation o...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
7.0.0.0.alpha0+
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: notBibisectable, regression
: 135129 135318 135535 135544 135587 135680 135695 139028 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-05-10 06:13 UTC by Ming Hua
Modified: 2021-01-02 03:13 UTC (History)
13 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Hua 2020-05-10 06:13:43 UTC
The Windows installer allows the user to select whether or not some optional features are installed.  "Online update" is one of the selectable optional features.

I recently installed 7.0.0 alpha1 on Windows 10, and chose to not install the online update feature.  After a successful installation, if I open Tools > Options... dialog, and click on the LibreOfficeDev > Online Update page, I get an error message in a dialog:
    (Dialog title) LibreOfficeDev 7.0 - Fatal Error
    cannot find /org.openoffice.Office.Jobs/Jobs/UpdateCheck/Arguments
and there is only a single button "OK".  Clicking the button seems to make LO hang.  Closing the dialog (using the "X" button on top left corner) seems to make LO quit.

Version: 7.0.0.0.alpha1 (x64)
Build ID: 6a03b2a54143a9bc0c6d4c7f1...
CPU 线程: 2; 操作系统: Windows 10.0 Build 18363; UI 渲染: Skia/Raster; VCL: win; 
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: threaded
Comment 1 rygle 2020-08-08 06:51:22 UTC
Reproduced on both LO 7.0.0.3 and 7.0.1.0 Dev (2020-08-08_07.31.28), both x64 builds on Windows

Same as the OP, I chose to not install the Online Update component.

When I click on Online Update in the options dialogue, I get teh same error message, however the program crashes as soon as I click OK or the close "X" button. It does not hang, just quits.
Comment 2 Mike Kaganski 2020-08-09 13:58:53 UTC
*** Bug 135129 has been marked as a duplicate of this bug. ***
Comment 3 Mike Kaganski 2020-08-09 13:59:04 UTC
*** Bug 135318 has been marked as a duplicate of this bug. ***
Comment 4 Mike Kaganski 2020-08-09 13:59:16 UTC
*** Bug 135544 has been marked as a duplicate of this bug. ***
Comment 5 Mike Kaganski 2020-08-09 13:59:56 UTC
*** Bug 135535 has been marked as a duplicate of this bug. ***
Comment 6 Mike Kaganski 2020-08-09 14:01:07 UTC
In LibreOffice_6.3.0.4_Win_x64.msi, we have three elements in FeatureComponents table for gm_o_Onlineupdate:

> gm_o_Onlineupdate    auto_onlineupdate_lib_updatecheckui__libreoffice_program
> gm_o_Onlineupdate    auto_onlineupdate_lib_updchk__libreoffice_program
> gm_o_Onlineupdate    gid_file_share_registry_onlineupdate_xcd__libreoffice_share_registry



In LibreOffice_7.0.0.3_Win_x64.msi, we only have one entry related to gm_o_Onlineupdate: the last one.
Comment 7 Mike Kaganski 2020-08-09 16:13:58 UTC
The relevant places are:

Repository.mk:

> ...
> $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
> 	$(if $(ENABLE_ONLINE_UPDATE), \
> 		updatecheckui \
> 		updchk \
> 	) \
> ))
> ...

scp2/AutoInstall.mk
scp2/InstallModule_onlineupdate.mk
scp2/InstallScript_setup_osl.mk
scp2/source/onlineupdate/file_onlineupdate.scp
scp2/source/onlineupdate/module_onlineupdate.scp

And they seem to be not modified lately in the related places...
As I mentioned in bug 135579 comment 2, I suspect changes in tdf#130911.
Comment 8 Mike Kaganski 2020-08-09 21:21:34 UTC
... and building MSI for current master produces all three entries ...

May cloph have any idea what is different in the generation of MSI package?
Comment 9 baffclan 2020-08-09 22:30:58 UTC
*** Bug 135587 has been marked as a duplicate of this bug. ***
Comment 10 Mike Kaganski 2020-08-12 19:26:09 UTC
*** Bug 135680 has been marked as a duplicate of this bug. ***
Comment 11 Ming Hua 2020-08-13 17:41:38 UTC
*** Bug 135695 has been marked as a duplicate of this bug. ***
Comment 12 Mike Kaganski 2020-12-18 11:36:03 UTC
*** Bug 139028 has been marked as a duplicate of this bug. ***