You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2015/10/11 20:09:05 UTC

[jira] [Resolved] (WICKET-5994) Mounted TemplateResourceReference throws org.apache.wicket.WicketRuntimeException when https is used

     [ https://issues.apache.org/jira/browse/WICKET-5994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5994.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 8.0.0-M1
                   7.1.0
                   6.21.0

I've reworked a bit Include component to not use external requests for local resources.

This solves the problem with the quickstart but doesn't solve the issue if someone tries to load the resource as external (i.e. with absolute url). I believe the issue there is with the self-issued SSL certificate we use for the quickstart.

> Mounted TemplateResourceReference throws  org.apache.wicket.WicketRuntimeException when https is used
> -----------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5994
>                 URL: https://issues.apache.org/jira/browse/WICKET-5994
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 6.20.0, 7.0.0
>         Environment: Win 7 64 bit Jetty 9, JDK 8, Tomcat 7
>            Reporter: Sandor Feher
>            Assignee: Martin Grigorov
>              Labels: https, resources
>             Fix For: 6.21.0, 7.1.0, 8.0.0-M1
>
>
> I mount a css file as a resource and use it to include styles into my emails' headers. 
> But if I switch to https then I get  
> org.apache.wicket.WicketRuntimeException: failed to locate stream
> when I try to include the resource.
> Weird thing is if I simply enter https://localhost:8443/css/mail.css into my browser then the css file appears fine without errors.
> I created a quickstart project for better understanding.
> https://github.com/sfeher/TemplateResourceReferenceTestApplication.git



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)