Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6875

Partially broken download pages

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Known fix

    Description

      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

      <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>
      

      However they contain:

      <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>
      

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

      Attachments

        1. xdocs.diff
          2 kB
          Bryan Pendleton
        2. tool.diff
          1 kB
          Bryan Pendleton
        3. site.diff
          3 kB
          Bryan Pendleton

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            bryanpendleton Bryan Pendleton
            sebb Sebb
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment