Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7818

links with XWiki 2.1 syntax never call setQueryString() for queryString parameters

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 4.1-milestone-1, 4.0.1
    • 3.5, 4.0
    • Old Core
    • None
    • Tomcat 7, XE 3.5
    • Unit
    • Unknown
    • N/A
    • N/A

    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!

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            jamiem Jamie Maher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: