Bug 95533 - Extension site changes oxt extension during upload
Summary: Extension site changes oxt extension during upload
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 23:08 UTC by Michael Bauer
Modified: 2016-08-11 10:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
screeenshot of oxt file in directory (7.05 KB, image/jpeg)
2015-11-03 20:59 UTC, Michael Bauer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bauer 2015-11-02 23:08:48 UTC
I think this has happened before. I maintain a spellchecking extension (http://extensions.libreoffice.org/extension-center/an-dearbhair-beag-scottish-gaelic-spellchecker) and the file I (always) upload is most definitely a .oxt file but when the file downloads, it appends a -1 (i.e. it becomes .oxt-1) which renders the file unusable. Of course I can remove the -1 and then it works fine but I cannot communicate this to all users who may download the extension.

I have just uploaded a new version to see if I missed a setting somewhere but it just uploads the .oxt and downloads it as an .oxt-1
Comment 1 Joel Madero 2015-11-02 23:23:00 UTC
Andreas - thought this might interest you. If not, apologies for the noise :)
Comment 2 Andreas Mantke 2015-11-03 20:09:45 UTC
I looked over the downloadable files and couldn't find such an issue in the portal_catalog index. I tried then with a new downloadable file (3-0a.oxt) at the release 3.0 of the spellchecker and everything was fine (no additional -1).
There are two options that could cause the issue:
a) there is already a file with the same name on the website (I can't find that file in the catalog yet)
b) the file has the same name on the local hard-disk before the upload.

There seemed to be no files with an -1 at the end in this spell checking project but the version 3.0.
Comment 3 Michael Bauer 2015-11-03 20:59:35 UTC
Created attachment 120242 [details]
screeenshot of oxt file in directory

I wish it was just a misnamed file at my end but I've set Windows up to show extensions and as you can see in the screenshot, there is no -1 at the end.
Comment 4 Aron Budea 2016-08-11 04:00:49 UTC
Bugs with the sites now belong on http://redmine.documentfoundation.org/

If there's still something you'd like to see rectified regardin this, or the bug occurs again, please open a ticket there.
Comment 5 Michael Bauer 2016-08-11 08:53:11 UTC
Marking as fixed, the issue seems to have gone away.
Comment 6 steve 2016-08-11 10:21:01 UTC
Since there is no specific commit fixing this issue, setting to WORKSFORME. FIXED is used only when a commit exists.

Feel free to reopen this issue if you still can reproduce this particular problem or if I did miss something peculiar.