diff --git a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties index 91cacefc1..117ad46c0 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources.properties @@ -1100,3 +1100,4 @@ 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 a83f8f419..a4ebbf9b3 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_de.properties @@ -1094,3 +1094,4 @@ 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 387e473c4..d9e2a5a6f 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_en_GB.properties @@ -138,3 +138,4 @@ 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 d272f007d..916b71a49 100755 --- a/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties +++ b/ccm-cms/src/com/arsdigita/cms/CMSResources_fr.properties @@ -610,3 +610,4 @@ 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 acbc744cf..728224fe3 100755 --- a/ccm-cms/src/com/arsdigita/cms/ui/templates/TemplateCreate.java +++ b/ccm-cms/src/com/arsdigita/cms/ui/templates/TemplateCreate.java @@ -138,8 +138,10 @@ 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()); + //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")); } }