Bug 59198 - Manual update of Extension (dictionary) fails
Summary: Manual update of Extension (dictionary) fails
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
4.0.0.0.beta2
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: bibisected40
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-01-10 15:38 UTC by Pedro
Modified: 2023-01-03 09:21 UTC (History)
2 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 Pedro 2013-01-10 15:38:03 UTC

    
Comment 1 Pedro 2013-01-10 15:55:23 UTC
Manually installed a Portuguese dictionary and then noticed there was a newer version.

Manually adding the new version warned of existing version and offered to update.

Ended with error:
(com.sun.star.lang.WrappedTargetRuntimeException) { { { Message = "[context=\"bak\"] caught unexpected com.sun.star.ucb.ContentCreationException: Cannot create folder (invalid path): ", Context = (com.sun.star.uno.XInterface) @0 } }, TargetException = (any) { (com.sun.star.ucb.ContentCreationException) { { Message = "Cannot create folder (invalid path): ", Context = (com.sun.star.uno.XInterface) @0 }, eError = (com.sun.star.ucb.ContentCreationError) UNKNOWN } } }

The files used were from
http://natura.di.uminho.pt/download/sources/Dictionaries/libreoffice/Pre-AO/
updating from the 12.10.1 to the 13.1.1 releases

The update failed in LOdev Version 4.0.0.1+ (Build ID: fe3bcdac912580607611475bfc3b0fa478a54ec)
I selected Version 4.0beta2 because 4.0.0.1 is not available yet

This update worked correctly in LibreOffice 3.5.7.2 so it's a regression.
Comment 2 Joel Madero 2013-01-10 19:28:38 UTC
Confirmed. 

Marking as:
New (confirmed)
Minor - can slow down work but not prevent high quality work
High - easy workaround (remove older version) but it is a regression so leaving as high

regression


Thanks for reporting!

Test on: Version 4.1.0.0.alpha0+ (Build ID: a0d2c3c59fbe9324395152e544890fe298b6043)
Comment 3 Joel Madero 2013-01-10 20:03:26 UTC
CC: Bjoern, yours?

Bibisect:
 5dddcff8ae35692d89751ae98ab8acbbf802b5b4 is the first bad commit
commit 5dddcff8ae35692d89751ae98ab8acbbf802b5b4
Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
Date:   Tue Dec 11 05:22:26 2012 +0000

    source-hash-d85fd8a85501547d5bb87822d2589a07aed7f2d6
    
    commit d85fd8a85501547d5bb87822d2589a07aed7f2d6
    Author:     Stephan Bergmann <sbergman@redhat.com>
    AuthorDate: Wed Nov 21 12:41:41 2012 +0100
    Commit:     Stephan Bergmann <sbergman@redhat.com>
    CommitDate: Wed Nov 21 12:41:41 2012 +0100
    
        Fix install-gdb-printers for Mac OS X
    
        Change-Id: I685d277806e757fc6247f34d4db7386955dab7b7

:100644 100644 99e65e2d132b0f467d52718cb5574bbd276b84c5 03a040999f63a580a1509f0d908fa9a9f149fad1 M	autogen.log
:100644 100644 d1dffcac5e20f137981a1ee53d82819296660d8f 760e368a7df5a07687a83c81a51e73bb80c62ceb M	ccache.log
:100644 100644 e90409ec8ead05c8fe982311c4fad9412f935b8b 88657431c9c9c0aa14b8c93c720e3c6b5222d64a M	commitmsg
:100644 100644 76efee933474fa0d7569b3e6f0943d3bd9dc876a 793e45124d193a35b8925402bda4e8f14e9dba8c M	dev-install.log
:100644 100644 3891157aa7844c43f80ea5b431309453836479b8 54ed0708af49cfca9bbbe4c60484adbb1f3628f1 M	make.log
:040000 040000 5522d7515450a2abddaca0ef2d8c2d6e5d03572a 8e2ebefc6e5ba8a91bf16e7cdef72824536b4fb0 M	opt




# bad: [5b4b36d87517a6ea96ff8c84c46b12f462fc9a1a] source-hash-8450a99c744e9005f19173e4df35d65640bcf5c4
# good: [65fd30f5cb4cdd37995a33420ed8273c0a29bf00] source-hash-d6cde02dbce8c28c6af836e2dc1120f8a6ef9932
git bisect start 'latest' 'oldest'
# good: [16b0b88cbd4ef0f51816e97277e40c5cf78f7bf9] source-hash-099198a4224778fe6e43f5dc13b5b9b1b4dc828c
git bisect good 16b0b88cbd4ef0f51816e97277e40c5cf78f7bf9
# good: [f28b8f9a6c47fa59bf98fffe937a2f2db7a2445a] source-hash-a581d31b227623e09d2970a91214fda398f98eda
git bisect good f28b8f9a6c47fa59bf98fffe937a2f2db7a2445a
# skip: [114fd3b76bcba890e6d702d00cef910f1493c262] source-hash-64ab96cd15e52da88781e720d6f031dbcd0ba902
git bisect skip 114fd3b76bcba890e6d702d00cef910f1493c262
# good: [99fb4d5c4493406d720bb58eedd6c79b2c304c77] source-hash-982b7cb498c3ea1106c5d2184f84989d99b1d942
git bisect good 99fb4d5c4493406d720bb58eedd6c79b2c304c77
# skip: [20bcb05266724b495f909e6bdc5b253b15515e7d] source-hash-f260c656da4457c5d87c161bdd43ad3023d07472
git bisect skip 20bcb05266724b495f909e6bdc5b253b15515e7d
# good: [7f50375c2cf8bf1e026f61f11ae9666648687164] source-hash-d281a19e1d06856f863788f3344ad42ed1566669
git bisect good 7f50375c2cf8bf1e026f61f11ae9666648687164
# bad: [fad6aba1675531a031872af655be5756c5012cb9] source-hash-d38a2e3ea04d354492df18aa16d2304babe87dfb
git bisect bad fad6aba1675531a031872af655be5756c5012cb9
# good: [9ec4be63ed5281f2e9364b140da69291c7abc348] source-hash-a1ac2538e9b287444500618ab4d2f0f06c25cf34
git bisect good 9ec4be63ed5281f2e9364b140da69291c7abc348
# good: [915b1e16f20d5ce2a32f911ef051103455600845] source-hash-9210b95bcfd65ae558f445666d9b880e794d4c74
git bisect good 915b1e16f20d5ce2a32f911ef051103455600845
# bad: [5dddcff8ae35692d89751ae98ab8acbbf802b5b4] source-hash-d85fd8a85501547d5bb87822d2589a07aed7f2d6
git bisect bad 5dddcff8ae35692d89751ae98ab8acbbf802b5b4
# good: [b17eb9ea515cf4b5bf60dd2b6860febf0806a9bd] source-hash-b6c016da23d309b4ac7d154bc33a22397974ed73
git bisect good b17eb9ea515cf4b5bf60dd2b6860febf0806a9bd
Comment 4 Pedro 2013-01-11 00:08:45 UTC
I can also add that the update works correctly on version 3.6.4.3 under Win XP Pro x86 SP3.
It is a version 4.0+ problem only.
Comment 5 retired 2014-11-10 10:28:50 UTC
Retesting.

Installed 14.1.1.1. Check for updates... Does not find anything but since I'm not sure if this extension is officially supported maybe that is expected and this bug is about manual update.

So downloaded 14.10.2.1 and opened that with LO. it asks to replace the existing version. I confirm with "OK" and receive no error. The extension is updated as expected.

OSX 10.10.

LO Version: 4.4.0.0.alpha2+
Build ID: a066acd8709ce69eae4fee3993dbb298e02eb8d5
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2014-11-09_09:59:47

WORKSFORME
Comment 6 Pedro 2014-11-10 10:50:19 UTC
(In reply to foss from comment #5)

> So downloaded 14.10.2.1 and opened that with LO. it asks to replace the
> existing version. I confirm with "OK" and receive no error. The extension is
> updated as expected.
> 
> OSX 10.10.
> 
> LO Version: 4.4.0.0.alpha2+
> Build ID: a066acd8709ce69eae4fee3993dbb298e02eb8d5
> TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2014-11-09_09:59:47
> 
> WORKSFORME

Confirmed that the bug no longer occurs using LO 4.3.2.2 under Windows XP Pro x86 SP3.

Worksforme, too.

Thanks!
Comment 7 Mike Kaganski 2023-01-03 09:21:01 UTC Comment hidden (obsolete)