Changes for page Release Notes for XWiki 4.3 Milestone 2
Last modified by Thomas Mortagne on 2017/03/24
Change comment:
Fix jira URLs
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. RalucaMoisa1 +XWiki.ThomasMortagne - Content
-
... ... @@ -66,12 +66,12 @@ 66 66 67 67 == Miscellaneous == 68 68 69 -* Search Admin UI improvements ({{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8408{{/jira}}):((( 69 +* Search Admin UI improvements ({{jira style="enum" url="https://jira.xwiki.org"}}XWIKI-8408{{/jira}}):((( 70 70 {{image reference="searchAdminUINew.png"/}} 71 71 ))) 72 72 * Automatically register translations for the FAQ and IRCBot applications 73 73 74 -See the [[full list of JIRA issues>>http://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%224.3-milestone-2%22&tempMax=1000]] fixed in this release. 74 +See the [[full list of JIRA issues>>https://jira.xwiki.org/sr/jira.issueviews:searchrequest-printable/temp/SearchRequest.html?jqlQuery=project+in+%28XCOMMONS%2C+XRENDERING%2C+XWIKI%2C+XE%2C+XEM%29+and+status+%3D+Closed+and+resolution+%3D+Fixed+and+fixVersion+%3D+%224.3-milestone-2%22&tempMax=1000]] fixed in this release. 75 75 76 76 = For Developers = 77 77 ... ... @@ -140,7 +140,7 @@ 140 140 141 141 = Known issues = 142 142 143 -* [[Bugs we know about>>http://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]] 143 +* [[Bugs we know about>>https://jira.xwiki.org/secure/IssueNavigator.jspa?reset=true&jqlQuery=category+%3D+%22Top+Level+Projects%22+AND+issuetype+%3D+Bug+AND+resolution+%3D+Unresolved+ORDER+BY+updated+DESC]] 144 144 145 145 = Backward Compatibility and Migration Notes = 146 146 ... ... @@ -155,8 +155,30 @@ 155 155 == Issues specific to XWiki 4.3 Milestone 2 == 156 156 157 157 * The methods setUrlPatternMatcher and getUrlPatternMatcher have been removed from the core class com.xpn.xwiki.XWiki. The underlying URLPatternMatcher could not really be used as a singleton instance and was causing irregular failures in the basic authentication method. Thus these methods cannot be meaningfully relied upon and have therefore been removed. 158 -* When setting the value using setValue (or setList) on a list field in an XWiki object, the list will now be copied. To be able to update the list, you must call getValue (or getList) and update the returned list. This is due to {{jira style="enum" url="http://jira.xwiki.org"}}XWIKI-8398{{/jira}}. 158 +* When setting the value using setValue (or setList) on a list field in an XWiki object, the list will now be copied. To be able to update the list, you must call getValue (or getList) and update the returned list. This is due to {{jira style="enum" url="https://jira.xwiki.org"}}XWIKI-8398{{/jira}}. 159 +* The behaviour of ##com.xpn.xwiki.api.PropertyClass#getClassType()## (public API) and ##com.xpn.xwiki.objects.classes.PropertyClass#getClassType()## (protected API) has changed. They don't return the canonical Java class name of the property implementation anymore but an implementation hint. Here's the code:((( 160 +{{code language="java"}} 161 +/** 162 + * Each type of XClass property is identified by a string that specifies the data type of the property value (e.g. 163 + * 'String', 'Number', 'Date') without disclosing implementation details. The internal implementation of an XClass 164 + * property type can change over time but its {@code classType} should not. 165 + * <p> 166 + * The {@code classType} can be used as a hint to lookup various components related to this specific XClass property 167 + * type. See {@link com.xpn.xwiki.internal.objects.classes.PropertyClassProvider} for instance. 168 + * 169 + * @return an identifier for the data type of the property value (e.g. 'String', 'Number', 'Date') 170 + */ 171 +public String getClassType() 172 +{ 173 + // By default the hint is computed by removing the Class suffix, if present, from the Java simple class name 174 + // (without the package). Subclasses can overwrite this method to use a different hint format. 175 + return StringUtils.removeEnd(getClass().getSimpleName(), "Class"); 176 +} 177 +{{/code}} 159 159 179 +This means that instead of returning ##com.xpn.xwiki.objects.classes.DBListClass## these methods now return ##DBList##. This is due to {{jira style="enum" url="https://jira.xwiki.org"}}XWIKI-8355{{/jira}}. 180 +))) 181 + 160 160 == API Breakages == 161 161 162 162 The following APIs were modified since 4.2: