Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki.s urli1 +XWiki.ThomasMortagne - Content
-
... ... @@ -29,7 +29,6 @@ 29 29 * [[Javassist 3.25.0-GA>>https://jira.xwiki.org/browse/XCOMMONS-1619]] 30 30 * [[Jaxen 1.2.0>>https://jira.xwiki.org/browse/XCOMMONS-1618]] 31 31 * [[JBoss Logging 3.4.0>>https://jira.xwiki.org/browse/XCOMMONS-1616]] 32 -* [[JBoss Marshalling 2.0.7.Final>>https://jira.xwiki.org/browse/XCOMMONS-1620]] 33 33 * [[JGroups 4.0.19>>https://jira.xwiki.org/browse/XCOMMONS-1605]] 34 34 * [[JSqlParser 2.0>>https://jira.xwiki.org/browse/XWIKI-16246]] 35 35 * [[jsTree 3.3.7>>https://jira.xwiki.org/browse/XWIKI-16034]] ... ... @@ -68,6 +68,14 @@ 68 68 69 69 = Backward Compatibility and Migration Notes = 70 70 70 +== Attachment URL API == 71 + 72 +In order to fix a cache issue related to attachment, we change the behaviour of [[##Document#getAttachmentURL##>>http://nexus.xwiki.org/nexus/service/local/repositories/public/archive/org/xwiki/platform/xwiki-platform-oldcore/11.3/xwiki-platform-oldcore-11.3-javadoc.jar/!/com/xpn/xwiki/api/Document.html#getAttachmentURL-java.lang.String-]] methods. 73 + 74 +Those methods now return by default [[a ##downloadrev## URL>>Documentation.DevGuide.Architecture.URL Architecture.Standard URL Format||anchor="HAction:downloadrev"]] containing a query parameter part. 75 + 76 +If you want to add a query parameter for the returned URL, please don't append it to the returned URL, but [[use the dedicated API>>http://nexus.xwiki.org/nexus/service/local/repositories/public/archive/org/xwiki/platform/xwiki-platform-oldcore/11.3/xwiki-platform-oldcore-11.3-javadoc.jar/!/com/xpn/xwiki/api/Document.html#getAttachmentURL-java.lang.String-java.lang.String-java.lang.String-]]. 77 + 71 71 == General Notes == 72 72 73 73 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added: