From b528df23a7c757d2ed32ef5de10c3a5f4ed21172 Mon Sep 17 00:00:00 2001 From: Aditya Sharma Date: Sat, 27 Oct 2018 11:39:45 +0000 Subject: [PATCH] Fixed: updateContent service does not return an error/success message (OFBIZ-9743) Additional change: Added success message to createContent and removeContent service too. Thanks Rohit Rai for reporting the issue. git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/branches/release17.12@1844954 13f79535-47bb-0310-9956-ffa450edef68 --- applications/content/config/ContentUiLabels.xml | 9 +++++++++ .../content/minilang/content/ContentServices.xml | 6 ++++++ 2 files changed, 15 insertions(+) diff --git a/applications/content/config/ContentUiLabels.xml b/applications/content/config/ContentUiLabels.xml index 6e2abfb20d..8e1ce5d096 100644 --- a/applications/content/config/ContentUiLabels.xml +++ b/applications/content/config/ContentUiLabels.xml @@ -955,6 +955,9 @@ 内容 內容 + + Content created successfully. + Error creating content in ${serviceName} Erreur de création du document dans le service ${serviceName} @@ -965,6 +968,9 @@ 在${serviceName}中创建内容时出错 在${serviceName}中新建內容時出錯 + + Content deleted successfully. + Content Id or Upload file is missing. La référence du document ou le fichier à charger est manquant. @@ -1061,6 +1067,9 @@ 内容到(contentTo) ${contentTo}/内容自(contentFrom) ${contentFrom} 是空的(null) 內容_迄(contentTo) ${contentTo}/內容_起(contentFrom) ${contentFrom} 是空的(null) + + Content updated successfully. + Error updating content in ${serviceName} Erreur lors de la mise à jour du document ${serviceName} diff --git a/applications/content/minilang/content/ContentServices.xml b/applications/content/minilang/content/ContentServices.xml index 5ba8cff765..cf62d4e0d5 100644 --- a/applications/content/minilang/content/ContentServices.xml +++ b/applications/content/minilang/content/ContentServices.xml @@ -50,6 +50,8 @@ + + @@ -61,6 +63,8 @@ + + @@ -68,6 +72,8 @@ + +