Bug 44161 - Wrong link to Extensions Website in 'Options' ... 'Get more dictionaries online...'
Summary: Wrong link to Extensions Website in 'Options' ... 'Get more dictionaries onli...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: WWW (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium critical
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-26 15:00 UTC by manj_k
Modified: 2011-12-28 14:41 UTC (History)
4 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 manj_k 2011-12-26 15:00:01 UTC
LibO 3.5.0 Beta2 (on WinXP 32b · UI en-US)
[LOdev 3.5.0beta2 · Build ID: 8589e48-760cc4d-f39cf3d-1b2857e-60db978]

Any application:
Tools > Options > Language Settings > Writing Aids > Available language modules > Edit > Get more dictionaries online...

Expected: correct link to 
http://extensions.libreoffice.org/extension-center?getCategories=Dictionary

Unexpected: wrong link to 
http://extensions.libreoffice.org/dictionaries/en (unavailable)
 

Tools > Language > More Dictionaries Online...
has the correct link to
http://extensions.libreoffice.org/extension-center?getCategories=Dictionary
Comment 1 Rainer Bielefeld Retired 2011-12-27 00:18:13 UTC
[Reproducible] with "LibreOffice 3.4.5 RC1  - WIN7 Home Premium (64bit) German UI [Build ID: OOO340m1 (Build:501)]" and with 
Parallel Dev-Installation of  "LibreOffice 3.5.0 Beta2- WIN7 Home Premium (64bit) German UI [Build-ID : 8589e48-760cc4d-f39cf3d-1b2857e-60db978] and with
LibO 3.3.3 Portable

@manj_k:
2011-12-26 14:59:40 you set "Bug 34497 - Get more dictionaries online shows the wrong link" to WFM,
2011-12-26 15:00:01 you open this one. Can you please explain?

I believe this one is a DUP of "Bug 42408 - the address referred by tools -> languages -> more dictionaries online doesn't work". I reopened that one and asked for cleanup-
Comment 2 Lior Kaplan 2011-12-27 01:02:36 UTC
This isn't a dup of Bug 42408, as we're talking about a similar but not identical address. In this case, the software adds the user's locale at the end of the URL, which doesn't work.
Comment 3 Rainer Bielefeld Retired 2011-12-27 01:52:43 UTC
I sent a message via <http://extensions.libreoffice.org/contact-info>

@Lior:
What indication do you see limiting this bug to 3.5.0 Beta2?
Comment 4 Lior Kaplan 2011-12-27 02:12:25 UTC
@Rainer, It's the only version the bug is verified in...
Comment 5 manj_k 2011-12-27 02:28:43 UTC
"This page does not seem to exist…
We apologize for the inconvenience, but the page you were trying to access is not at this address. You can use the links below to help you find what you are looking for."

Reproducible with
LibO-3-5 [2011-12-25] (UI en-US)
LOdev 3.5.0beta2+ 
Build ID: 7dfc54c-7ef74e0-6f9c6e1

LibO 3.4.5 RC1 (UI en-US)
LibreOffice 3.4.5 
OOO340m1 (Build:501)

LibO 3.4.4 (UI en-US)
LibreOffice 3.4.4 
OOO340m1 (Build:402)


"Die Seite existiert leider nicht…"
LibO 3.3.4 (UI de-DE)
LibreOffice 3.3.4 
OOO330m19 (Build:401)
tag libreoffice-3.3.4.1

Modified 'Version' back to 'unspecified'.
Comment 6 Florian Effenberger 2011-12-27 03:37:39 UTC
I included a workaround on the server side, by having a RewriteRule as follows:

RewriteRule ^/dictionaries/(.*) http://extensions.libreoffice.org/extension-center?getCategories=Dictionary [R=301,L,NC]

However, sounds like it should be fixed in the program code itself.
Comment 7 Rainer Bielefeld Retired 2011-12-27 05:04:00 UTC
The fix works fine with 3.3.3 Portable, 3.4.5RC1, 3.5.0Beta2, all WIN7

We will have to watch that RewriteRule - difference
Comment 8 Florian Effenberger 2011-12-27 05:12:49 UTC
I added a second rule upon report by Rainer.
Seems some versions use "dictionary" in the URL, others "dictionaries".
This should be fixed in the code, but from the server-side a workaround is in place.
Comment 9 Lior Kaplan 2011-12-27 05:16:39 UTC
This was fixed in master (before the 3.5.0 branch): http://cgit.freedesktop.org/libreoffice/core/commit/?id=70c659f4da5ca10bb36a38e6d1494efe57e09260

Should be cherry picked for 3.4.5 branch.
Comment 10 Rainer Bielefeld Retired 2011-12-27 05:26:51 UTC
All running rather quick here, for the additional Master specific part of the problem I submitted "Bug 44178 - Wrong URL for Dictionary Download". 

@Lior:
Can you please watch Bug 44178?
Comment 11 Lior Kaplan 2011-12-28 14:41:04 UTC
Bug 44178 fixed as well by a quick response by Florian.