Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 3.5, 4.0
-
Fix Version/s: 4.1-milestone-1, 4.0.1
-
Component/s: Old Core
-
Labels:None
-
Environment:Tomcat 7, XE 3.5
-
Tests:Unit
-
Difficulty:Unknown
-
Documentation:N/A
-
Documentation in Release Notes:N/A
-
Similar issues:
Description
When I do the following in a XWiki 2.1 syntax document it doesn't work as expected:
[[My Image>>attach:$doc@myimage.jpg||queryString="width=300"]]
I would expect:
<a href=".../myimage.jpg?width=300">My Image</a>
but instead I get:
<a href=".../myimage.jpg" querystring="width=300">My Image</a>
According to vmassol:
[14:17] <vmassol> public void setQueryString(String queryString)
[14:17] <vmassol> in AttachmentResourceReference
[14:17] <vmassol> is never called apparently
Please fix!