In der Klasse ccm-cms/src/com/arsdigita/cms/ui/authoring/PageCreateDynamic.java die FormProcessException in den Zeilen 646, 650, 654, 658, 663 und 667 umgebaut und den key couldnt_create_item den Properties hinzugefügt.

git-svn-id: https://svn.libreccm.org/ccm/trunk@3235 8810af33-2d31-482b-a856-94f89814c4df
master
tosmers 2015-02-18 20:26:41 +00:00
parent 44845d1b57
commit ce4a5099a0
5 changed files with 16 additions and 6 deletions

View File

@ -1107,3 +1107,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=Could not convert to html format b
cms.ui.authoring.couldnt_convert_inso_failed=Could not convert to html format because interMedia INSO filter conversion failed
cms.ui.authoring.html_file_missing_body_tags=The file (which should be type HTML) is missing the <body> or </body> tag.
cms.ui.lifecycle.publish.not_possible_abstract_category\ =
cms.ui.authoring.couldnt_create_item=Couldn't create new Item

View File

@ -1101,3 +1101,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=Konnte nicht ins html Format umgew
cms.ui.authoring.couldnt_convert_inso_failed=Konnte nicht ins html Format umgewandelt werden, da die interMedia INSO Umwandlung fehlschlug
cms.ui.authoring.html_file_missing_body_tags=Der Datei (vom Type HTML) fehlt der <body> oder </body> Tag
cms.ui.lifecycle.publish.not_possible_abstract_category\ =
cms.ui.authoring.couldnt_create_item=Konnte ein neues Element nicht erstellen

View File

@ -145,3 +145,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=
cms.ui.authoring.couldnt_convert_inso_failed=
cms.ui.authoring.html_file_missing_body_tags=
cms.ui.lifecycle.publish.not_possible_abstract_category\ =
cms.ui.authoring.couldnt_create_item=

View File

@ -617,3 +617,4 @@ cms.ui.authoring.couldnt_convert_missing_inso=Impossible de convertir au format
cms.ui.authoring.couldnt_convert_inso_failed=Impossible de convertir au format HTML car la conversion de filtre interMedia INSO a \u00e9chou\u00e9
cms.ui.authoring.html_file_missing_body_tags=Le fichier (qui devrait \u00eatre de type HTML) est absent de la <body> ou </ body>
cms.ui.lifecycle.publish.not_possible_abstract_category\ =
cms.ui.authoring.couldnt_create_item=Impossible de cr\u00e9er un nouveau \u00e9l\u00e9ment

View File

@ -643,23 +643,29 @@ public class PageCreateDynamic extends FormSection
}
} catch (ServletException ex) {
s_log.error("error creating new item", ex);
throw new FormProcessException("couldn't create item", ex);
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.authoring.couldnt_create_item"));
} catch ( ClassNotFoundException ex) {
s_log.error("error creating new item", ex);
throw new FormProcessException("couldn't create item", ex);
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.authoring.couldnt_create_item"));
} catch (NoSuchMethodException ex) {
s_log.error("error creating new item", ex);
throw new FormProcessException("couldn't create item", ex);
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.authoring.couldnt_create_item"));
} catch (InstantiationException ex) {
s_log.error("error creating new item", ex);
throw new FormProcessException("couldn't create item", ex);
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.authoring.couldnt_create_item"));
} catch (IllegalAccessException ex) {
s_log.error("programmer's error: cnstr should've been made public",
ex);
throw new FormProcessException("couldn't create item", ex);
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.authoring.couldnt_create_item"));
} catch (InvocationTargetException ex) {
s_log.error("error creating new item", ex);
throw new FormProcessException("couldn't create item", ex);
throw new FormProcessException(GlobalizationUtil.globalize(
"cms.ui.authoring.couldnt_create_item"));
}
// Make sure the item will be remembered across requests