From 4f55a95e4f1fe856a62b5550dc958201134f8f37 Mon Sep 17 00:00:00 2001 From: tosmers Date: Fri, 13 Feb 2015 23:46:15 +0000 Subject: [PATCH] =?UTF-8?q?[RE-UPDATE]=20In=20der=20Klasse=20com/arsdigita?= =?UTF-8?q?/cms/ui/templates/TemplateCreate.java=20die=20FormProcessExcept?= =?UTF-8?q?ion=20in=20der=20Zeile=20142=20=C3=BCberarbeitet.=20Exception?= =?UTF-8?q?=20jetzt=20einfach=20an=20die=20FormProcessException=20weiterge?= =?UTF-8?q?leitet.=20Entsprechenden=20key=20no=5Fsequence=5Fvalue=5Fretrie?= =?UTF-8?q?ved=20aus=20den=20Properties=20entfernt.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.libreccm.org/ccm/trunk@3165 8810af33-2d31-482b-a856-94f89814c4df --- ccm-cms/src/com/arsdigita/cms/CMSResources.properties | 1 - ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties | 1 - ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties | 1 - ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties | 1 - .../src/com/arsdigita/cms/ui/templates/TemplateCreate.java | 6 ++---- 5 files changed, 2 insertions(+), 8 deletions(-) diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 117ad46c0..91cacefc1 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1100,4 +1100,3 @@ cms.contenttypes.ui.url_not_valid=The URL is not valid cms.contenttypes.ui.url_missing_protocol=A valid URL starts with a protocol, eg http:// cms.contenttypes.ui.internal_link_requires_item_selection=Item selection is required for internal link cms.contenttypes.ui.false_link_target=Link target is the same as this object -cms.ui.templates.no_sequence_value_retrieved=Error retrieving the sequence value diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties index a4ebbf9b3..a83f8f419 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1094,4 +1094,3 @@ cms.contenttypes.ui.url_not_valid=Die URL ist nicht g\u00fcltig cms.contenttypes.ui.url_missing_protocol=Eine g\u00fcltige URL startet mit einem Protokoll, z.B. http:// cms.contenttypes.ui.internal_link_requires_item_selection=Item-Wahl f\u00fcr den internen Link ist notwendig cms.contenttypes.ui.false_link_target=Das Ziel des Links ist das Selbe, wie dieses Objekt -cms.ui.templates.no_sequence_value_retrieved=Fehler beim Abrufen des Folgewertes diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties index d9e2a5a6f..387e473c4 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -138,4 +138,3 @@ cms.contenttypes.ui.url_not_valid= cms.contenttypes.ui.url_missing_protocol= cms.contenttypes.ui.internal_link_requires_item_selection= cms.contenttypes.ui.false_link_target= -cms.ui.templates.no_sequence_value_retrieved= diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties index 916b71a49..d272f007d 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -610,4 +610,3 @@ cms.contenttypes.ui.url_not_valid=L'URL n'est pas valide cms.contenttypes.ui.url_missing_protocol=Une URL valide commence par un protocol, p.e. http:// cms.contenttypes.ui.internal_link_requires_item_selection=Choix d'article pour le lien interne est n\u00e9cessaire cms.contenttypes.ui.false_link_target=La cible de lien est la m\u00eame que cet objet -cms.ui.templates.no_sequence_value_retrieved=Erreur en r\u00e9cup\u00e9rant de la valeur de s\u00e9quence diff --git a/ccm-cms/src/com/arsdigita/cms/ui/templates/TemplateCreate.java b/ccm-cms/src/com/arsdigita/cms/ui/templates/TemplateCreate.java index 728224fe3..1b936a48b 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/templates/TemplateCreate.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/templates/TemplateCreate.java @@ -138,10 +138,8 @@ public class TemplateCreate extends BasicItemForm { id = Sequences.getNextValue(); d.put(ITEM_ID, id); } catch (SQLException ex) { - //s_log.error("Error retrieving the sequence value", ex); - //throw new FormProcessException(ex.getMessage()); - throw new FormProcessException(GlobalizationUtil.globalize( - "cms.ui.templates.no_sequence_value_retrieved")); + s_log.error("Error retrieving the sequence value", ex); + throw new FormProcessException(ex); } }