changeset 1324:90b786325324

Donated own error message to RemoveArtifact failure case. flys-client/trunk@2966 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 13 Oct 2011 12:55:16 +0000
parents 1fd6d94407c1
children 2f5fbfeda1d4
files flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties
diffstat 5 files changed, 18 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/flys-client/ChangeLog	Thu Oct 13 12:51:54 2011 +0000
+++ b/flys-client/ChangeLog	Thu Oct 13 12:55:16 2011 +0000
@@ -5,6 +5,19 @@
 
 2011-10-13	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
 
+	Added error message(i18n) for fail case of removeArtifactService.
+
+	* src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants.java,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants.properties,
+	  src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties:
+	  Added error_remove_artifact .
+
+	* src/main/java/de/intevation/flys/client/server/CollectionHelper.java:
+	  Resolved TODO by employing "own" error message (removeArtifact).
+
+2011-10-13	Felix Wolfsteller	<felix.wolfsteller@intevation.de>
+
 	Removed obsolete imports.
 
 	* src/main/java/de/intevation/flys/client/client/services/RemoveArtifactServiceAsync.java,
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Thu Oct 13 12:51:54 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.java	Thu Oct 13 12:55:16 2011 +0000
@@ -336,6 +336,8 @@
 
     String error_add_artifact();
 
+    String error_remove_artifact();
+
     String error_create_collection();
 
     String error_describe_collection();
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Thu Oct 13 12:51:54 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties	Thu Oct 13 12:55:16 2011 +0000
@@ -172,6 +172,7 @@
 error_feed_data = Error while inserting new data.
 error_advance_artifact = Error while changing the project's state.
 error_add_artifact = Error while inserting new data.
+error_remove_artifact = Error while removing data.
 error_create_collection = Error while creating a new collection.
 error_describe_collection = Error while fetching the projects state.
 error_no_rivers_found = Error while reading supported rivers.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Thu Oct 13 12:51:54 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties	Thu Oct 13 12:55:16 2011 +0000
@@ -173,6 +173,7 @@
 error_feed_data = Fehler beim Hinzuf\u00fcgen neuer Daten.
 error_advance_artifact = Fehler beim Wechseln des Zustands des Projektes.
 error_add_artifact = Fehler beim Hinzuf\u00fcgen einer Parametrisierung.
+error_remove_artifact = Fehler beim Entfernen einer Parametrisierung.
 error_create_collection = Fehler beim Erstellen eines neuen Projektes.
 error_describe_collection = Fehler beim Laden des Projektzustandes.
 error_no_rivers_found = Fehler beim Lesen der unterst\u00fctzten Fl\u00fcsse.
--- a/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties	Thu Oct 13 12:51:54 2011 +0000
+++ b/flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties	Thu Oct 13 12:55:16 2011 +0000
@@ -167,6 +167,7 @@
 error_feed_data = Error while inserting new data.
 error_advance_artifact = Error while changing the project's state.
 error_add_artifact = Error while inserting new data.
+error_remove_artifact = Error while removing data.
 error_create_collection = Error while creating a new collection.
 error_describe_collection = Error while fetching the projects state.
 error_no_rivers_found = Error while reading supported rivers.

http://dive4elements.wald.intevation.org