In der Klasse ccm-docmgr/src/com/arsdigita/cms/docmgr/ui/BrowseFileInfoPropertiesPane.java die FormProcessException in den Zeilen 907 und 912 umgebaut und den key ui.error.sending_document den Properties hinzugefügt.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3193 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-15 17:09:32 +00:00
parent 141ad8f4f0
commit eb2d964af3
3 changed files with 6 additions and 2 deletions

View File

@ -904,11 +904,13 @@ public class BrowseFileInfoPropertiesPane extends ModalContainer implements DMCo
} catch (java.io.IOException iox) { } catch (java.io.IOException iox) {
s_log.error("SendForm.process", iox); s_log.error("SendForm.process", iox);
// iox.printStackTrace(); // iox.printStackTrace();
throw new FormProcessException("An error occurred while trying to send document"); throw new FormProcessException(GlobalizationUtil.globalize(
"ui.error.sending_document"));
} catch (javax.mail.MessagingException mex) { } catch (javax.mail.MessagingException mex) {
s_log.error("SendForm.process", mex); s_log.error("SendForm.process", mex);
//mex.printStackTrace(); //mex.printStackTrace();
throw new FormProcessException("An error occurred while trying to send document"); throw new FormProcessException(GlobalizationUtil.globalize(
"ui.error.sending_document"));
} }
} }
} }

View File

@ -90,3 +90,4 @@ ui.portlet.action.newresource=New Document
ui.folderTableModelBuilder.folderItemCounts=subfolders:{0};subitems:{1} ui.folderTableModelBuilder.folderItemCounts=subfolders:{0};subitems:{1}
ui.portlet.action.new.doclink=New DocLink ui.portlet.action.new.doclink=New DocLink
ui.intended_audience_cannot_be_null=Intended Audience cannot be null ui.intended_audience_cannot_be_null=Intended Audience cannot be null
ui.error.sending_document=An error occurred while trying to send document

View File

@ -90,3 +90,4 @@ ui.portlet.action.newresource=New Document
ui.folderTableModelBuilder.folderItemCounts=subfolders:{0};subitems:{1} ui.folderTableModelBuilder.folderItemCounts=subfolders:{0};subitems:{1}
ui.portlet.action.new.doclink=New DocLink ui.portlet.action.new.doclink=New DocLink
ui.intended_audience_cannot_be_null=Intended Audience cannot be null ui.intended_audience_cannot_be_null=Intended Audience cannot be null
ui.error.sending_document=An error occurred while trying to send document