db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-6875) Partially broken download pages
Date Thu, 25 Feb 2016 19:05:18 GMT
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)

Mime
View raw message