Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -12,10 +12,6 @@ 12 12 13 13 {{releasenotechanges/}} 14 14 15 -=== Moved Modules === 16 - 17 -<description deprecated, retired and moved projects> 18 - 19 19 === Upgrades === 20 20 21 21 The following runtime dependencies have been upgraded (they have a different release cycle than [[XWiki Commons>>http://commons.xwiki.org]], [[XWiki Rendering>>http://rendering.xwiki.org]] and [[XWiki Platform>>http://platform.xwiki.org]]): ... ... @@ -72,6 +72,14 @@ 72 72 73 73 = Backward Compatibility and Migration Notes = 74 74 71 +== Attachment URL API == 72 + 73 +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. 74 + 75 +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. 76 + 77 +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-]]. 78 + 75 75 == General Notes == 76 76 77 77 * When upgrading make sure you compare and merge the following XWiki configuration files since some parameters may have been modified, removed or added: