You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Sebb (JIRA)" <ji...@apache.org> on 2016/02/25 20:05:18 UTC

[jira] [Created] (DERBY-6875) Partially broken download pages

Sebb created DERBY-6875:
---------------------------

             Summary: Partially broken download pages
                 Key: DERBY-6875
                 URL: https://issues.apache.org/jira/browse/DERBY-6875
             Project: Derby
          Issue Type: Bug
         Environment: http://db.apache.org/derby/releases/release-10.12.1.1.cgi
http://db.apache.org/derby/releases/release-10.11.1.1.cgi
            Reporter: Sebb


The download pages have a box for choosing a mirror.

However this is broken - it does not contain a list of mirrors.
This is because the HTML pages are broken.

They should contain something like the following from

http://tomcat.apache.org/download-90.html

{code}
<form action="[location]" method="get" id="SelectMirror">
<p>
       Other mirrors: <select name="Preferred">
         [if-any http]
           [for http]<option value="[http]">[http]</option>[end]
         [end]
         [if-any ftp]
           [for ftp]<option value="[ftp]">[ftp]</option>[end]
         [end]
         [if-any backup]
           [for backup]<option value="[backup]">[backup] (backup)</option>[end]
           [end]
         </select><input type="submit" value="Change">
</p>
</form>
{code}

However they contain:

{code}
<form action="[location]" method="get" id="SelectMirror">Other mirrors: <select name="Preferred">
<!--[if-any http] [for http]--><option value="[http]">[http]</option>
<!--[end] [end]-->
<!--[if-any ftp] [for ftp]--><option value="[ftp]">[ftp]</option>
<!--[end] [end]-->
<!--[if-any backup] [for backup]--><option value="[backup]">[backup] (backup)</option>
<!--[end] [end]--></select> <input type="submit" value="Change">
</form>
{code}

The required templating code has been commented out, so does not work.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)