[
https://issues.apache.org/jira/browse/DERBY-6875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169247#comment-15169247
]
Bryan Pendleton commented on DERBY-6875:
----------------------------------------
I guess I still don't 100% understand the differences between the .cgi and
.html approaches
to release publication. It appears that the Derby community switched from the
*.html
approach to the *.cgi approach with Derby release 10.11, as described in
DERBY-6588,
but the CGI generating tool was added by DERBY-4855 which long pre-dates Derby
10.11.
And the Instructions at http://wiki.apache.org/db-derby/ReleasePublication seem
to
describe that the cgi approach was in place in the automated build tools since
Derby
release 10.7, but Derby releases 10.7, 10.8, 10.9, and 10.10 don't use the CGI
scripts
on derby_downloads.html; they use the html page instead.
I don't think I need to know these things to fix the broken pages on the site,
but it
does trouble me that I can't pin-point exactly how this problem crept into our
process.
> 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)