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 "John H. Embretsen (JIRA)" <ji...@apache.org> on 2007/10/11 17:08:50 UTC

[jira] Created: (DERBY-3123) Style sheet (CSS) references in demo HTML files are incorrect

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

                 Key: DERBY-3123
                 URL: https://issues.apache.org/jira/browse/DERBY-3123
             Project: Derby
          Issue Type: Bug
          Components: Demos/Scripts
    Affects Versions: 10.3.1.4
            Reporter: John H. Embretsen
            Priority: Minor


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


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (DERBY-3123) Style sheet (CSS) references in demo HTML files are incorrect

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John H. Embretsen closed DERBY-3123.
------------------------------------


Thanks Knut Anders! Very quick committer work indeed :) Closing the issue.

> Style sheet (CSS) references in demo HTML files are incorrect
> -------------------------------------------------------------
>
>                 Key: DERBY-3123
>                 URL: https://issues.apache.org/jira/browse/DERBY-3123
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.3.1.4
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>            Priority: Minor
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         Attachments: d3123.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-3123) Style sheet (CSS) references in demo HTML files are incorrect

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John H. Embretsen updated DERBY-3123:
-------------------------------------

    Derby Info: [Patch Available]

> Style sheet (CSS) references in demo HTML files are incorrect
> -------------------------------------------------------------
>
>                 Key: DERBY-3123
>                 URL: https://issues.apache.org/jira/browse/DERBY-3123
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.3.1.4
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>            Priority: Minor
>         Attachments: d3123.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (DERBY-3123) Style sheet (CSS) references in demo HTML files are incorrect

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-3123.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 10.4.0.0
                   10.3.1.5
       Derby Info:   (was: [Patch Available])

Thanks John. I verified that the style was changed in those four documents when the patch was applied. They look much better now!

Committed to trunk with revision 584104.
Committed to 10.3 with revision 584106.

> Style sheet (CSS) references in demo HTML files are incorrect
> -------------------------------------------------------------
>
>                 Key: DERBY-3123
>                 URL: https://issues.apache.org/jira/browse/DERBY-3123
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.3.1.4
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>            Priority: Minor
>             Fix For: 10.3.1.5, 10.4.0.0
>
>         Attachments: d3123.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (DERBY-3123) Style sheet (CSS) references in demo HTML files are incorrect

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John H. Embretsen updated DERBY-3123:
-------------------------------------

    Attachment: d3123.diff

Attaching patch (d3123.diff) fixing this issue (trunk).  This is a very simple fix which modifies relative paths to the csfull.css file.
Output of 'svn stat':

M      java/demo/toursdb/toursdb_readme.html
M      java/demo/demo.html
M      java/demo/simple/example.html
M      java/demo/navbar.html

Please review/commit :)

(I think it is harmless to port this to the 10.3 branch as well, if so desired)

> Style sheet (CSS) references in demo HTML files are incorrect
> -------------------------------------------------------------
>
>                 Key: DERBY-3123
>                 URL: https://issues.apache.org/jira/browse/DERBY-3123
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.3.1.4
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>            Priority: Minor
>         Attachments: d3123.diff
>
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (DERBY-3123) Style sheet (CSS) references in demo HTML files are incorrect

Posted by "John H. Embretsen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John H. Embretsen reassigned DERBY-3123:
----------------------------------------

    Assignee: John H. Embretsen

> Style sheet (CSS) references in demo HTML files are incorrect
> -------------------------------------------------------------
>
>                 Key: DERBY-3123
>                 URL: https://issues.apache.org/jira/browse/DERBY-3123
>             Project: Derby
>          Issue Type: Bug
>          Components: Demos/Scripts
>    Affects Versions: 10.3.1.4
>            Reporter: John H. Embretsen
>            Assignee: John H. Embretsen
>            Priority: Minor
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.