Version 2.1 by Thomas Mortagne on 2012/07/28

Show last authors
1 {{box cssClass="floatinginfobox" title="**Contents**"}}
2 {{toc/}}
3 {{/box}}
4
5 Second milestone of the 4.2 release.
6
7 = New and Noteworthy (since XWiki Enterprise 4.2 Milestone 1) =
8
9 == New field types for email and list of pages ==
10
11 == Improved display of users and groups fields ==
12
13 = For Developers =
14
15 == Default custom displayers for Easier customization of the way object fields are displayed ==
16
17 While XWiki allowed to specify a custom display for a given field, it was impossible to change the way field types, such as //DateProperty// or //IntegerProperty//, are displayed in general. Now it is possible to define custom displayers at the farm or wiki level, which gives the administrators more power to change the look and feel of the wiki. For example, this allows to use HTML5 input types for dates and numbers, to use custom suggestions for //list of users// fields, or to always add a validation input for all the //password// field types.
18
19 To use this feature, first you need to compute a //type// name for your property type. This is obtained from the java class simple name, removing the ##Class## suffix, and lowercasing. For example, for numbers the java class used is ##com.xpn.xwiki.objects.classes.NumberClass##, with the simple name ##NumberClass##, which gives ##number## as the type name. For a database list, we get ##dblist## from ##DBListClass##.
20
21 Next, there are three places where a default custom displayer.
22
23 If a specific field provides custom display code in the XClass, then that code takes priority over the
24
25 {{warning}}For the moment, the location of the default custom displayer is cached the first time a {{/warning}}
26
27 == Deprecated and Retired projects ==
28
29 <description of deprecated and retired projects>
30
31 == Upgrades ==
32
33 The following dependencies have been upgraded:
34
35 * <list libraries that have been upgraded>
36
37 == Miscellaneous ==
38
39 <other stuff to add and link to JIRA for all issues fixed>
40
41 == Translations ==
42
43 The following translations have been updated:
44
45 {{language codes="code1, code2"/}}
46
47 = Tested Browsers =
48
49 Here's the list of browsers tested with this version (i.e. browsers that we've tested as working - Check the list of [[supported browsers>>dev:Community.BrowserSupportStrategy]]):
50
51 {{velocity}}
52 ## name = iexplorer, firefox, chrome, safari, opera
53 {{/velocity}}
54
55 {{browser name="browser" version="x.x"/}}
56
57 = Known issues =
58
59 * [[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]]
60
61 = Test Report =
62
63 You can check the [[manual test report>>TestReports.WebHome#<anchor to test report>]] to learn about what was tested and the results on various browsers.
64
65 = Backward Compatibility and Migration Notes =
66
67 == General Notes ==
68
69 You may also want to [[import the default wiki XAR>>Main.Download]] in order to benefit from all the improvements listed above.
70
71 {{warning}}
72 Always make sure you compare your ##xwiki.cfg## and ##xwiki.properties## files with the newest version since some configuration parameters were added. Note that you should add ##xwiki.store.migration=1## so that XWiki will attempt to automatically migrate your current database to the new schema. Make sure you backup your Database before doing anything.
73 {{/warning}}
74
75 == Issues specific to <projet> <version> ==
76
77 <issues specific to the project>
78
79 == API Breakages ==
80
81 The following APIs were modified since <project> <version - 1>:
82
83 {{code language="none"}}
84 <clirr output here>
85 {{/code}}

Get Connected