=================================================================== MMBase 1.9.0 - Release Notes =================================================================== ============ INTRODUCTION: ============ This document describes the changes that have been made in the final release of MMBase 1.9.0, relative to the previous release of MMBase (1.8.x). Bug reports should be entered at the bug reporting system for MMBase at: Releasenotes generated by JIRA: http://www.mmbase.org/jira/secure/ReleaseNote.jspa?version=10119&styleName=Html&projectId=10000&Create=Create ============ NEW FEATURES: ============ -------------------- General New Features: -------------------- [1.9.0] - On a lot of places java 1.5 features were used in the implementation of core and applications. (like generics, varargs, StringBuilder). - start on org.mmbase.framework - command server for image magick (to avoid memory doubling) * [MMB-273] - There are a lot of dependencies on xerces/xalan * [MMB-356] - Only one alias per node in application export. * [MMB-1107] - mmbase should support mbeans and jmx * [MMB-1121] - Could maximum length of owner name be extended beyond 12 chars ? * [MMB-1205] - A way to quickly select a node. * [MMB-1217] - mm:isrelated * [MMB-1253] - Missing a way to remove markup. * [MMB-1473] - Hits/misses of caches are stored in a int, which may be too small. * [MMB-1573] - Alphabetic ordering of nodetypes in generic pulldowns * [MMB-1650] - Cascading css classes of components are way to specific * [MMB-1388] - standard css class names for classes for icons and content images * [MMB-1389] - functionality to escape specific blocks * [MMB-1410] - Implement security and * [MMB-1411] - Finish processor * [MMB-1422] - Admin interface for the default component framework * [MMB-1498] - ConnectionFramework, ConnectionRenderer * [MMB-1543] - ThreadGroup in logfiles. * [MMB-1554] - Support for longblob, longtext in mysql. * [MMB-1580] - MMCF based admin pages must be functional * [MMB-1581] - Weighted block classifications * [MMB-1582] - Settings persistence implementation * [MMB-1631] - Datatype properties to be not only String. * [MMB-1668] - It would be nice if it would be possible to set constraints in dynamic include, tag-fragments etc. * [MMB-1690] - Keyword functionality. * [MMB-1693] - level attribute on mm:log * [MMB-1698] - Should be able to use 'blocks' in editwizard definitions too. * [MMB-1714] - It must be possible to replace builders while 'extending' them. * [MMB-1715] - Support for 'Content-Disposition' builder property. * [MMB-1720] - Decent object type to contain flash objects. * [MMB-1728] - Property-matching with class-security. * [MMB-1729] - Programmatic deployments of apps * [MMB-1402] - MMCI bridge interfaces and java 1.5 generics. * [MMB-1409] - MMBase does not compile against java 1.6 * [MMB-1413] - write test-cases on redirect and url generation (can be used to check and test implemented functionality) * [MMB-1445] - mmbase-module files are full of empty directories. * [MMB-1474] - Build/install process of a component * [MMB-1475] - Nightly build does not contain generated documentation any more. * [MMB-1486] - There is little point in implementing our own LRUHashtable, as java 1.4 provides one. * [MMB-1489] - rmmci must be fixed again. * [MMB-1521] - Decide what to do with org.mmbase.model * [MMB-1604] - Migrate CMSc guestbook portlet into MMCF guestbook component * [MMB-1649] - Drop Codings application and move its jsps and data to MyNews * [MMB-1656] - MMObjectNode supports 'properties', but the needed builder is missing. The functionality is undocumented as wel,. Taglib New Features: ------------------- - varStatus attribute on list-tags (like c:forEach) - jspvar of writers can have any value. ------------------ Bug Fixes: ------------------ [1.9.0] * [MMB-110] - Not all dtd known by xmlentityresolver * [MMB-182] - documetation fails when www.oasis-open.org not online * [MMB-333] - toString of BasicNode is empty if clusternode. * [MMB-348] - When typerel is changed, multilevel cache is not refreshed * [MMB-370] - Threads in MMBase use deprecated stop/suspend methods * [MMB-410] - hsql, if no size given in builder xml string field, create table fails. * [MMB-495] - ImageMagick creates empty images on failure * [MMB-570] - Community messages max body size is 2024 bytes * [MMB-583] - Community startup very slow (make community module deprecated?) * [MMB-803] - It is possible to insert images with empty handle and itype and then icache hangs * [MMB-811] - Some unclear module configuration files * [MMB-892] - my_editors en mmeditors don't use 1.7 searchquery and trherefore are causing inefficient queries. * [MMB-917] - Empty or emptied HTML-area generates a
in Mozilla et al. and a

in MSIE * [MMB-922] - mm:include does not consider does not work any more. (So with no fields) * [MMB-1028] - Immediately fetching blob after creating node can result in errors. * [MMB-1079] - If field null in resultset, NPE can occur, which fails the complete list. * [MMB-1138] - Insert web link bugged, removing the http:// results in strange effects. * [MMB-1208] - Using non-existing 'function' on cluster node gives enigmatic error: * [MMB-1223] - Using mm:form, XML fields behave enigmatic. * [MMB-1265] - CloudContext, LocalContext, RemoteContext, BasicCloudContext, it is a mess. * [MMB-1272] - Case sensitivity MySQL tablenames depending on platform -> use only lowercase for all tablenames, to prevent possible issues (esp. * [MMB-1276] - rights context cache already contained this entry waring * [MMB-1277] - SimpleDateFormat is not thread-safe. * [MMB-1286] - Can't create relations with a node that was found using its alias * [MMB-1287] - Pager doesn't seem to know about creating relations * [MMB-1289] - Legend missing * [MMB-1310] - images in links dont' work well. * [MMB-1315] - Cloud context security editors allow contexts > 12 characters * [MMB-1317] - Editwizards don't seem to understand 'null' values. * [MMB-1323] - If icache node not in node cache any more after the conversion, then the image-server will server no bytes. * [MMB-1344] - ImageMagick and text, it is broken again. Now because it produces @ * [MMB-1345] - MMServers only considers 'machinename', not host, if host overriden with -Dmmbaseroot.host, that has no effect on the default machinename * [MMB-1347] - mm:countrelations role="" * [MMB-1350] - Images don't work if mapped to /img.db? * [MMB-1356] - In transaction you can create a node, even if you have no rights. * [MMB-1375] - ONLY optimization of Postgresql Query handler sometimes adds only when that is not justified. * [MMB-1376] - mm:createalias does not work directly in mm:createnode. * [MMB-1377] - org.mmbase.bridge.util.xml.query.QueryReader does not support postfixes digits on path elements. * [MMB-1379] - install task of email application does not copy mail.jar into the webapp * [MMB-1381] - s( ..<) and s(..>) features are not working when using JAI. * [MMB-1382] - IE memory leak in editwizards * [MMB-1385] - Fullback and import requires loads of memory to import binaries * [MMB-1386] - If you don't change 'blob' field, but other fields, it seems that the blob is still needed. * [MMB-1387] - the functionset_1_0.dtd does not allow the attribute 'required' on element 'param', but functionset.java does. * [MMB-1392] - crontab: equals of cronentry n ot complete, cannot change only configuration. * [MMB-1393] - mm:constraint field="number" value="" operator="GREATER" does not work properly if node with number does not exist. * [MMB-1396] - RMMCI doesn't compile. * [MMB-1399] - Build forgets to include mmbase/kupu/mmbase/index.jspx * [MMB-1406] - Data dir to contain README.txt * [MMB-1416] - Validation not limited to changed fields * [MMB-1424] - Some nodelists (still) give classcast exceptionss * [MMB-1448] - Excessive code duplication in wizard xsl. * [MMB-1452] - Node with XML-field is committed even if no fields are changed. * [MMB-1464] - lastmodifier field of the news application is not working with hsqldb * [MMB-1465] - oscache dependency on commons-logging is not forfilled * [MMB-1476] - mmbase-SNAPSHOT.mmbase-module is a bit of a mess. * [MMB-1490] - XMLEntityResolver.getMMEntities opens db-connections which are never closed * [MMB-1504] - Required fields don't work with old definition * [MMB-1514] - ${mm:escape} does not recognized mm:escaper-defined escapers. * [MMB-1540] - Cloud tag throws exception when authentication is off and the method attribute is set * [MMB-1547] - field ftype="startwizard" throws exception when when the node is no yet saved * [MMB-1606] - mmbase-1.9.0.jar of maven is not compatible with original mmbase.jar of ant. * [MMB-1613] - Can not create new nodes with read only fields like created * [MMB-1614] - HSQL creates data directory gets outside of webapp * [MMB-1617] - compare tag: when referid points to a boolean and value is 'true' or 'false' you get a numberformatexception * [MMB-1638] - Maxuploadsize is only an int. * [MMB-1641] - MMBaseFilter captures too much * [MMB-1644] - index.jsp of distro must be reviewed, fixed. * [MMB-1672] - ant build.xml broken. * [MMB-1676] - Daymarkers are created on start of day in UT, so timezones are ignored. * [MMB-1678] - Animated gifs are corrupted easily when scaled with ImageMagick * [MMB-1680] - Deleting nodes in transaction, gives horrible exception. * [MMB-1682] - Step#getNodes should return null according to javadoc if no nodes added. But it doesn't. * [MMB-1683] - Query#addNode(Step, integer) not accessible via taglib. * [MMB-1686] - RelatedCache of relation builders are registered in cache manager with the same name * [MMB-1695] - Missing links in documentation overview. * [MMB-1697] - Maven example webapp's config directory is to empty * [MMB-1700] - Float types should support Locale * [MMB-1703] - Email 'expires' queries only work with LONG fields * [MMB-1704] - BCC is sent as CC * [MMB-1705] - If using field="" attribute, of field referrer like mm:fieldinfo and the tag also uses the _node_ it may not use the node associated with the referred field provider. * [MMB-1723] - Cloudcontext Security application does not deploy correctly --------------------------------------------------------- Known API incompatibilities of bridge, between 1.8 to 1.9. --------------------------------------------------------- - Bridge. A RelationList is no NodeList any more (though a Relation is still a Node). - Taglib. org.mmbase.util.xml.applicationdata.ApplicationReader and similar changes ======================== Know Issues and Problems: ======================== - Imagemagick does work with Windows 98/ME, but MMBase is not able to use it. You have to use Jai (Java Advanced Imaging API). You can do this by changing the properties in /WEB-INF/config/builders/applications/images.xml (after installation of 'Resource') or /WEB-INF/config/applications/Resources/builders/images.xml (before installation of 'Resource') into: org.mmbase.module.builders.ConvertJAI 20 Please keep in mind that the image builder is less powerful when using JAI instead of Imagemagick. - Jumpers jump to /index.html by default, which can e.g. shield the image servlet (if 'dotlessly' mapped). Remove the setting from jumpers.xml if you prefer nice 404's (this is like this on default) - Resin provides its own XSL-transformation implementation, on this area are some known problems. - Resin cannot swallow some of the larger jsp/taglib pages. ============ Requirements: ============ MMBase versions need the following implementation versions of the servlet specification (http://java.sun.com/products/servlet/) and Java. The shipped templates need implementations of the jsp specification (http://java.sun.com/products/jsp/) and JSTL (http://java.sun.com/products/jsp/jstl/). A complete J2EE implementation is not necessary. Tomcat is an example servlet/jsp implementation, which many people use. MMBase Java Servlet JSP JSTL Tomcat Orion ----------------------------------------------------- 1.8 1.4 2.3 1.2 1.1 4 2 1.9 5 2.4 2.0 1.1 5 2.0? 6 2.5 2.1 1.2 6 Furthermore MMBase needs a database and a jdbc-driver, or alternatively, a datasource resource provided by the container. The 'example webapp' includes an hsqldb database configuration and driver. ========= Tested on: ========= The applications listed here are known to be tested with MMBase, but the list is probably a lot bigger :-) See also /version?server ------------- Java versions ------------- - J2SE 1.5 ------------- Java compilers ------------- - Sun's javac 1.5 When altering line 115 in org.mmbase.cache.CacheManager from Cache cache = getCache(cacheName); to Cache cache = getCache(cacheName); the compiler will run into a bug in Sun's javac regarding the casting of generic types. See: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4916620 ------------------ Servlet engines / Application servers ------------------ These are the applications servers on which MMBase was tested. - Tomcat 5.5.17, 5.5.20, 6.0 - .. --------- Databases --------- - Mysql - Hsqldb 1.8.0 (shipped with distro) - Postgresql - PostgreSQL 8.1.3