From: <san...@us...> - 2007-09-27 22:08:23
|
Revision: 33 http://gatormail.svn.sourceforge.net/gatormail/?rev=33&view=rev Author: sandymac Date: 2007-09-27 13:51:18 -0700 (Thu, 27 Sep 2007) Log Message: ----------- Fix for rename folder issue Modified Paths: -------------- GatorMail/trunk/build.xml GatorMail/trunk/src/java/edu/ufl/osg/webmail/actions/ActionsUtil.java Modified: GatorMail/trunk/build.xml =================================================================== --- GatorMail/trunk/build.xml 2007-07-18 19:55:30 UTC (rev 32) +++ GatorMail/trunk/build.xml 2007-09-27 20:51:18 UTC (rev 33) @@ -19,7 +19,7 @@ <property name="gatormail.jdbc.url" value="" description="depricated"/> <property name="gatormail.attachment.path" value="" description="Local path to hold attachments until they are sent."/> - <property name="VERSION" value="1.0.22"/> + <property name="VERSION" value="1.0.23"/> <tstamp/> Modified: GatorMail/trunk/src/java/edu/ufl/osg/webmail/actions/ActionsUtil.java =================================================================== --- GatorMail/trunk/src/java/edu/ufl/osg/webmail/actions/ActionsUtil.java 2007-07-18 19:55:30 UTC (rev 32) +++ GatorMail/trunk/src/java/edu/ufl/osg/webmail/actions/ActionsUtil.java 2007-09-27 20:51:18 UTC (rev 33) @@ -85,6 +85,7 @@ private static final String MAIL_STORE_GROUP = "mailStore"; private static final String[] MAIL_STORE_CACHE_GROUP = new String[] {MAIL_STORE_GROUP}; + private static final Folder[] NO_FOLDERS = new Folder[0]; /** * Checks the users session and throws an exception if a problem is found. @@ -473,7 +474,11 @@ list.add(rootFolder); } - folders = getFolderList(rootFolder, includeUnsubscribed); + try { + folders = getFolderList(rootFolder, includeUnsubscribed); + } catch (FolderNotFoundException fnfe) { + folders = NO_FOLDERS; + } } finally { Util.releaseFolder(rootFolder); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |