Derby
  1. Derby
  2. DERBY-3123

Style sheet (CSS) references in demo HTML files are incorrect

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.3.1.4
    • Fix Version/s: 10.3.2.1, 10.4.1.3
    • Component/s: Demos/Scripts
    • Labels:
      None

      Description

      Most HTML files describing demos in the demo directory contain a reference to the style sheet "csfull.css". In a Derby -bin distribution this file is located in the demo/programs/ directory. In the source tree, this file is located in the java/demo/ directory. The references to this file have relative paths, such as "../csfull.css". Some of the references are incorrect, because they are pointing to the wrong relative directory.

      The consequences are that the pages are displayed in the browser without the intended style, and that there is an inconsistent style in use among the demos (because some references work while others don't).

      [demo]$ find . -name "*.html" | xargs grep "csfull.css"
      ./toursdb/toursdb_readme.html:<link rel="stylesheet" type="text/css" href="../../csfull.css" title="toursdb">
      ./workingwithderby/readme.html:<link rel="stylesheet" type="text/css" href="../csfull.css" title="sample">
      ./nserverdemo/readme.html:<link rel="stylesheet" type="text/css" href="../csfull.css" title="sample">
      ./simple/example.html:<link rel="StyleSheet" href="../../csfull.css" type="text/css" media="screen">
      ./demo.html:<link rel="stylesheet" type="text/css" href="../csfull.css" title="sample">
      ./navbar.html:<link rel="stylesheet" type="text/css" href="../csfull.css" title="sample">

      The above reveals that the CSS reference is wrong in the following files:
      toursdb/toursdb_readme.html
      simple/example.html
      demo.html
      navbar.html

      1. d3123.diff
        2 kB
        John H. Embretsen

        Issue Links

          Activity

          Gavin made changes -
          Workflow jira [ 12414800 ] Default workflow, editable Closed status [ 12800804 ]
          John H. Embretsen made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Knut Anders Hatlen made changes -
          Derby Info [Patch Available]
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Fix Version/s 10.3.1.5 [ 12312671 ]
          Fix Version/s 10.4.0.0 [ 12312540 ]
          John H. Embretsen made changes -
          Derby Info [Patch Available]
          John H. Embretsen made changes -
          Attachment d3123.diff [ 12367621 ]
          John H. Embretsen made changes -
          Assignee John H. Embretsen [ johnemb ]
          John H. Embretsen made changes -
          Field Original Value New Value
          Link This issue is related to DERBY-3118 [ DERBY-3118 ]
          John H. Embretsen created issue -

            People

            • Assignee:
              John H. Embretsen
              Reporter:
              John H. Embretsen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development