[JIRA] Created: (HUDSON-6977) Images and help don't load when Hudson isn't running on the root URL

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Created: (HUDSON-6977) Images and help don't load when Hudson isn't running on the root URL

Hudson issues mailing list
Images and help don't load when Hudson isn't running on the root URL
--------------------------------------------------------------------

                 Key: HUDSON-6977
                 URL: http://issues.hudson-ci.org/browse/HUDSON-6977
             Project: Hudson
          Issue Type: Bug
          Components: gerrit-trigger
    Affects Versions: current
         Environment: Hudson 1.366 (running on Apache Tomcat 5.5)
Gerrit-Trigger 2.0
            Reporter: jeremydavidson
            Assignee: rsandell
            Priority: Trivial


I've got Hudson running at http://xxx/hudson/. The help files on the config page and icon16.png on the project page are trying to load from http://xxx/plugin/gerrit-trigger/* instead of http://xxx/hudson/plugin/gerrit-trigger/*

I suspect this has to do with how the help files and icon are referenced in the jelly script. For example, badge.jelly has the following line:

<img src="${rootUrl}/plugin/gerrit-trigger/images/icon16.png" border="0"/>

I believe this can be fixed by omitting "${rootUrl}", but I can't build the project to test it myself.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Work started: (HUDSON-6977) Images and help don't load when Hudson isn't running on the root URL

Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HUDSON-6977 started by rsandell.

> Images and help don't load when Hudson isn't running on the root URL
> --------------------------------------------------------------------
>
>                 Key: HUDSON-6977
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6977
>             Project: Hudson
>          Issue Type: Bug
>          Components: gerrit-trigger
>    Affects Versions: current
>         Environment: Hudson 1.366 (running on Apache Tomcat 5.5)
> Gerrit-Trigger 2.0
>            Reporter: jeremydavidson
>            Assignee: rsandell
>            Priority: Trivial
>
> I've got Hudson running at http://xxx/hudson/. The help files on the config page and icon16.png on the project page are trying to load from http://xxx/plugin/gerrit-trigger/* instead of http://xxx/hudson/plugin/gerrit-trigger/*
> I suspect this has to do with how the help files and icon are referenced in the jelly script. For example, badge.jelly has the following line:
> <img src="${rootUrl}/plugin/gerrit-trigger/images/icon16.png" border="0"/>
> I believe this can be fixed by omitting "${rootUrl}", but I can't build the project to test it myself.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[JIRA] Closed: (HUDSON-6977) Images and help don't load when Hudson isn't running on the root URL

Hudson issues mailing list
In reply to this post by Hudson issues mailing list

     [ http://issues.hudson-ci.org/browse/HUDSON-6977?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

rsandell closed HUDSON-6977.
----------------------------

    Resolution: Fixed

Pushed to master @ http://github.com/hudson/gerrit-trigger-plugin commit: 1757046aba04228b61df
Included in 2.1.0 release.

> Images and help don't load when Hudson isn't running on the root URL
> --------------------------------------------------------------------
>
>                 Key: HUDSON-6977
>                 URL: http://issues.hudson-ci.org/browse/HUDSON-6977
>             Project: Hudson
>          Issue Type: Bug
>          Components: gerrit-trigger
>    Affects Versions: current
>         Environment: Hudson 1.366 (running on Apache Tomcat 5.5)
> Gerrit-Trigger 2.0
>            Reporter: jeremydavidson
>            Assignee: rsandell
>            Priority: Trivial
>
> I've got Hudson running at http://xxx/hudson/. The help files on the config page and icon16.png on the project page are trying to load from http://xxx/plugin/gerrit-trigger/* instead of http://xxx/hudson/plugin/gerrit-trigger/*
> I suspect this has to do with how the help files and icon are referenced in the jelly script. For example, badge.jelly has the following line:
> <img src="${rootUrl}/plugin/gerrit-trigger/images/icon16.png" border="0"/>
> I believe this can be fixed by omitting "${rootUrl}", but I can't build the project to test it myself.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.hudson-ci.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]