[Building Sakai] Problems with Spring 2.5 upgrade

Beth Kirschner bkirschn at umich.edu
Fri Sep 18 10:11:03 PDT 2009


It might be that the osp tools were the only ones bitten by this  
particular Spring 2.5 change that is not backward compatible and  
poorly documented. But since it took awhile to uncover, I thought I'd  
share it with the rest of the developer community.

The org.springframework.web.servlet.view.RedirectView implementation  
changed such that it no longer exposes _all_ model attributes as HTTP  
query parameters (despite what the javadocs claim). It will only  
expose model attributes that are considered "eligible". We were able  
to restore the previous functionality by over-riding the  
isEligibleProperty() and isEligibleValue() methods to always (or  
conditionally) return true.

- Beth



More information about the sakai-dev mailing list