Bug 108460 - Installing oxt over an existing one results in loop
Summary: Installing oxt over an existing one results in loop
Status: RESOLVED DUPLICATE of bug 117100
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
5.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-11 11:15 UTC by Michael Bauer
Modified: 2018-12-20 12:54 UTC (History)
3 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 Michael Bauer 2017-06-11 11:15:47 UTC
How to reproduce:
Grab an oxt (in my case I was working on a new spellchecker oxt which you can grab in Bug 108439)

Double-click the oxt and agree to license. If I go with Restart Now, when LO restarts, I am asked to accept the license again and to ... restart again. I can only get out of it by doing Restart Later and then manually restarting, which doesn't re-activate the installation screen.
Comment 1 Marco A.G.Pinto 2017-06-11 11:29:16 UTC
It has also happened to me before, I believe that with the LanguageTool extension (the daily version).

After we select to restart, sometimes it attempts to reinstall and one has to press "CANCEL" or it will repeat the loop over and over again.
Comment 2 Xavier Van Wijmeersch 2017-06-17 12:03:22 UTC
no repro with

Version: 6.0.0.0.alpha0+
Build ID: 2404a17e157273430d40ceaa1ab1275e7b50ba6e
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-06-17_03:43:01
Locale: nl-BE (en_US.UTF-8); Calc: group

and

Version: 5.5.0.0.alpha0+
Build ID: 59c9d0653cc42560af48269bb8dee2c2b0b20f68
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2017-06-06_23:50:05
Locale: nl-BE (en_US.UTF-8); Calc: group

and

Version: 5.4.0.0.beta2+
Build ID: f540a8031e84e9da7fc9aa08522360dbb365b035
CPU threads: 8; OS: Linux 4.9; UI render: default; VCL: kde4; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:libreoffice-5-4, Time: 2017-06-17_01:11:05
Locale: nl-BE (en_US.UTF-8); Calc: group
Comment 3 Xisco Faulí 2017-06-18 21:25:18 UTC
Thank you for reporting the bug. To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
Comment 4 Marco A.G.Pinto 2017-06-18 22:01:39 UTC
(In reply to Xisco Faulí from comment #3)
> Thank you for reporting the bug. To be certain the reported issue is not
> related to corruption in the user profile, could you please reset your
> Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
> re-test?
> 
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the issue is still present

I have just reproduced it in Windows 10 x64:
1) I have the quick start enabled and exited it on the trayicon area.
2) I double-clicked on the LanguageTool extension:
   https://languagetool.org/download/snapshots/?C=M;O=D
   LanguageTool-20170618-snapshot.oxt
3) it opens a blank document and the extension manager
4) Press okay to install the OXT
5) After it is installed, pressed okay, it will ask to restart and select okay
6) it will reopen the document and the extension manager and ask to install the 
   OXT again

notice I already had 2) installed before doing this whole steps.

I haven't tried the safe mode.

x1sc0,
Can you follow the steps to see if it happens to you too?

Thanks!

Kind regards,
Comment 5 Michael Bauer 2017-06-19 13:57:09 UTC
If I rename user to user-old as per the instructions you linked, installing the oxt over an existing oxt does not cause the loop.

Is there a way of fixing this loop issue for users without having to delete the existing user profile?
Comment 6 Buovjaga 2017-06-23 17:50:19 UTC
New per Marco's result.

(In reply to Michael Bauer from comment #5)
> If I rename user to user-old as per the instructions you linked, installing
> the oxt over an existing oxt does not cause the loop.
> 
> Is there a way of fixing this loop issue for users without having to delete
> the existing user profile?

The extensions live in the profile directory, so right after profile renaming it is not installed over an existing one.

I am assuming version reproduced in, please correct to earliest, if needed.
Comment 7 Michael Bauer 2017-06-23 18:12:25 UTC
I first noticed it in 5.3.3.2 (Fresh) but it's possible Marco has had this for longer?
Comment 8 Timur 2018-03-28 11:26:20 UTC
Sorry this bug is not proper. Please give exact steps and versions. 
From my experience, issue with extensions is their problem, not LO's.
Comment 9 Xisco Faulí 2018-03-29 09:15:24 UTC
(In reply to Timur from comment #8)
> Sorry this bug is not proper. Please give exact steps and versions. 
> From my experience, issue with extensions is their problem, not LO's.

@Buovjaga, Could you please provide the steps to reproduce this bug?
Comment 10 Buovjaga 2018-03-29 10:02:12 UTC
(In reply to Xisco Faulí from comment #9)
> (In reply to Timur from comment #8)
> > Sorry this bug is not proper. Please give exact steps and versions. 
> > From my experience, issue with extensions is their problem, not LO's.
> 
> @Buovjaga, Could you please provide the steps to reproduce this bug?

No, that is something Michael or Marco will have to do.
Comment 11 Michael Bauer 2018-03-29 10:05:45 UTC
Which bit exactly about the How to reproduce is confusing?
Comment 12 Marco A.G.Pinto 2018-03-29 10:23:21 UTC
Steps in Windows 10:

1) Download the LanguageTool .OXT V4.1
https://languagetool.org

2) Make sure you have the LO Quickstarter activated and the icon in the tray area

3) Right-click on the Quickstarter icon in the tray icon area and select "close"

4) Now double-click in the LanguageTool .OXT

5) Install it

6) LO will ask to restart

7) It will enter a loop as the Extension Manager will open again.


Is it now reproducible?
Comment 13 Gabor Kelemen (allotropia) 2018-12-20 12:54:46 UTC
The other report although newer, is better understood.

*** This bug has been marked as a duplicate of bug 117100 ***