Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
1.5.9
-
None
-
None
-
wicket 1.5.9 + wicketstuff-portlet 1.5.9 + Liferay 6.1.20 + tomcat 7
Description
[Note: I'm not sure if it is Wicket or Wicketstuff issue]
I'm running my app using wicket 1.5.9 + wicketstuff-portlet 1.5.9 + Liferay 6.1.20 + tomcat 7
URL generation works fine with wicket 1.5.8 + wicketstuff-portlet 1.5.8. After updating to 1.5.9 I noticed URLs are now in "relative path" form. I'm observing following behavior:
Links:
in 1.5.8
<a href="/web/guest/home?p_auth=44FrL..." wicket:id="link"><span wicket:id="label">Report 2012</span></a>
that renders as
http://localhost:8080/web/guest/home?p_auth=44FrL...
in 1.5.9 becomes:
<a href="./web/guest/home?p_auth=RsZR97..."><span wicket:id="label">Report 2012</span></a>
renders as
http://localhost:8080/web/guest/web/guest/home?p_auth=RsZR97...
resulting in 404
Css/Js resources:
in 1.5.8
<link rel="stylesheet" type="text/css" href="/abc-liferay/abc/ps:cmVjaXBlYm94UG9ydGxldF9XQVJfcmVjaXBlYm94bGlmZXJheV9MQVlPVVRfMTAxODM/wicket/resource/abc.LiferayResource/css/style-ver-1353672636000.css">
that renders as
http://localhost:8080/abc-liferay/abc/ps:cmVjaXBlYm94UG9ydGxldF9XQVJfcmVjaXBlYm94bGlmZXJheV9MQVlPVVRfMTAxODM/wicket/resource/abc.LiferayResource/css/style-ver-1353672636000.css
in 1.5.9 becomes
<link rel="stylesheet" type="text/css" href="./ps:cmVjaXBlYm94UG9ydGxldF9XQVJfcmVjaXBlYm94bGlmZXJheV9MQVlPVVRfMTAxODM/wicket/resource/abc.LiferayResource/css/style-ver-1353673010000.css">
that renders as
http://localhost:8080/web/guest/ps:cmVjaXBlYm94UG9ydGxldF9XQVJfcmVjaXBlYm94bGlmZXJheV9MQVlPVVRfMTAxODM/wicket/resource/abc.LiferayResource/css/style-ver-1353673010000.css
and cannot be retrieved.
Attachments
Issue Links
- is related to
-
WICKET-4645 encodeURL broken on Tomcat 7.0.28
- Resolved