Apache OpenOffice (AOO) Bugzilla – Issue 98385
Download box always redirects to a build with JRE, even when it doesn't exist
Last modified: 2009-02-17 13:36:53 UTC
http://www.openoffice.org and http://download.openoffice.org both have a green download OOo box. However, that box doesn't work for Lithuanian localization (and perhaps some others that don't have JRE builds too). Please fix it ASAP. Thanks! :)
Created attachment 59609 [details] A possible patch
Created attachment 59611 [details] Patch with an appropriate comment in the header
OK, here's the patch (use the second one as I forgot to add an appropriate comment in the first one). What I did is introduced a new member to the arrays in languages[], which indicates whether builds with JRE are available or not. I have set "y" for all languages except lt since I don't know which ones should carry "n". I have tested the patch locally, and it works well for me by creating an appropriate link to Lithuanian builds. I haven't tried with other languages though. Please fix the problem as soon as possible, because it's already been two weeks since Lithuanians started seeing a download box that doesn't actually work... :)
I just tested the patch with browser locale set to "en" and "ru", and both work very well. Thus I believe the patch to be safe.
ja->fma: Frank, could you please care about this ? download.js will get it's next update on next tuesday due to 3.0.1 release and it would be good to have the changes included until then.
Verifing patch, thanks to rq!!!
By the way, the comment for languages array says that the language name should be in English, but I just noticed that it's in Portuguese for Portuguese builds. Frank, you may want to either fix the comment or the array.
Patch included in download.js. Please verify. Big thanks to rq! Cheers, Frank
.
thanks
Yoohoo! Thanks a lot! :)
closing issue