...
- sdf
- 2009/03/21: v1.5 HEAD: Exception handling has changed so that grouper exceptions are now unchecked. You can look at your custom code including hooks and see if that changes anything (if anything you can optionally not catch grouper exceptions and convert into runtime if you are right now). Also, finders for single objects are deprecated. If you use these in custom code or hooks you can refactor so they use the overload, pass in true as last param so it throw exception if not found. e.g. GroupFinder.findByName()
- 2009/01/28: v1.5 HEAD: the DDL is different, this step will address the following changes. Run this to upgrade: GROUPER_HOME/bin/gsh -registry -check
- 2009/01/28: there are two new cols in grouper_groups and grouper_members
- 2009/01/27: the membership table cols owner_id and via_id were expanded to owner_group_id, owner_stem_id, via_group_id, and via_composite_id.
- 2009/01/02: grouper_groups atttributes (name, extension, display_extension, display_name, description) are now columns of grouper_groups table
- TO UPGRADE:
- Look through custom code which uses the API (including hooks), and if you have accessed these fields through attributes, then convert to it how accesses via direct getters/setters. e.g. from getAttribute("name") to getName(). or setAttribute("extension") to setExtension(). Including getAttributes() and getAttributesDb()
- Turn off grouper systems for updates
- Backup the registry, e.g. with export: gsh -xmlexport GrouperSystem /whatever/20090127_1_5.xml
- Either run the in-place upgrade, or reinstall the registry and import
\[in-place\] Run: grouper_home/bin/gsh \ -registry \ -checkWiki Markup - Then look at the result script, and execute that script, perhaps with:
grouper_home/bin/gsh -registry -runsqlfile C:/mchyzer/isc/dev/grouper_v1_4/grouper/ddlScripts/grouperDdl_20090120_08_39_44_148.sql
- Then look at the result script, and execute that script, perhaps with:
- \-or\- \ [reinstall\] grouper_home/bin/gsh \ -registry \ -drop \ -runscript
- gsh -xmlimport GrouperSystem /whatever/20090127_1_5.xml
...