Release Notes 1.7

From bemoko developer wiki

Jump to: navigation, search

Released on 14 October 2011

Summary

1.7 is the a general update to bemokoLive that builds on top of 1.6 and provides enhanced operational reliability.

This release provides high availability support. This enhanced reliability comes from an improved plugin compilation mechanism. As always sites (along with template and plugin code) can be hot deployed into a running environment with little impact on other sites. The new production grade plugin loader now supports caching compiled classes reducing the need for any re-compilation if not-necessary. Memory foot prints for each site have also been reduced to again reduce the impact of site re-deployments.

Enhancements

  • [LIVE-700] - Remove jcr session handling from LiveFilter to only use when appropriate
  • [LIVE-1729] - Allow scheduler spin up to be disabled
  • [LIVE-1730] - Upgrade to groovy 1.8.2
  • [LIVE-1732] - Upgrade grails to version 1.3.7
  • [LIVE-1734] - Allow custom configuration to pulled in from outside of site folder
  • [LIVE-1735] - Allow dev report to be toggle on / off by click instead of hover when displaying error pop up
  • [LIVE-1738] - Include yammer metrics library in bemokoLive
  • [LIVE-1745] - Remove JCR support
  • [LIVE-1749] - Hide Address Bar on Android
  • [LIVE-1759] - Allow controllers to return renderer as view instead of just string
  • [LIVE-1769] - Plugins should still be loaded when page is in error
  • [LIVE-1773] - Create a UI resource navigator in the console
  • [LIVE-1731] - Add button on admin console to clear soft references
  • [LIVE-1736] - Remove wall-tomcat5-b2.jar and all old wurfl API dependencies (haven't been used for a while)
  • [LIVE-1740] - Add jyaml as dependency to core

Fixes

  • [LIVE-1013] - BE148 : Range header not processed : bytes=-535646183--551172591
  • [LIVE-1724] - java.lang.IllegalAccessError whilst loading Inner class from compiled class directory
  • [LIVE-1743] - Device Database reporting Magic real device incorrectly
  • [LIVE-1750] - Edge case for some sites where "org.hibernate.LazyInitializationException : could not initialize proxy - no Session" on first page access after server starts. OK on second page.
  • [LIVE-1753] - Namespace definition in HTML parsing should not be mandatory
  • [LIVE-1756] - ETag header being generated for 302 response
  • [LIVE-1761] - Page not found error thrown when attempting to access site console using bemokoLive-1.7.0-b2
  • [LIVE-1763] - HTTP status 0 is coming back from render plugin (in mobile marketing site)
  • [LIVE-1767] - UrlRewriter isn't loaded (and applied) on error page (e.g. 404 page) and hence URLs are not rewritten
  • [LIVE-1768] - ReportRewriter links were not resolving through URL rewriters
  • [LIVE-1772] - LiveResourceUri in LiveSiteFile created from ResourceFinder does not have context path set correctly when file is found in UI folder

Groovy v1.8

bemokoLive v1.7 has upgraded Groovy to v1.8.2 (previously it was on v1.7.10). This can lead to some edge case incompatibility issues. The known ones are documented below

Casting a null to an int

Prior to bemokoLive v1.7 the following

int fontSize = intent.size as int

was supported when intent.size was a null. fontSize would evaluate as 0. From bemokoLive v1.7 you need to use an Integer, i.e.

Integer fontSize = intent.size as Integer

Otherwise you will get the exception org.codehaus.groovy.runtime.typehandling.GroovyCastException : Cannot cast object 'null' with class 'null' to class 'int'. Try 'java.lang.Integer' instead

The bemokoLive imagetranscoder has been updated accordingly. If you use the imagetranscoder, it will be necessary for you to upgrade the imagetranscoder you use when you upgrade to bemokoLive v1.7