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

{attach} macro doesn't work in default wiki

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0 B1
    • Fix Version/s: 1.0 B3
    • Component/s: {Unused} Core
    • Labels:
      None
    • Similar issues:

      Description

      The

      {attach}

      macro generates an invalid URL. For example imagine a page named Code.PanelsApplication. Using:

      {attach:xwiki-application-panels.xar}
      

      generates the following URL:

      http://www.xwiki.org/xwiki/bin/download/XWiki/ApplicationClassSheet/xwiki-application-panels.xar
      

      Whereas the correct URL is:

      http://www.xwiki.org/xwiki/bin/download/Code/PanelsApplication/xwiki-application-panels.xar
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: