# HG changeset patch # User Felix Wolfsteller # Date 1318510516 0 # Node ID 90b7863253244c69d380572baba37774180f2c06 # Parent 1fd6d94407c1b34564d649e75005ad6f9878ef95 Donated own error message to RemoveArtifact failure case. flys-client/trunk@2966 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 1fd6d94407c1 -r 90b786325324 flys-client/ChangeLog --- 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 + 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 + Removed obsolete imports. * src/main/java/de/intevation/flys/client/client/services/RemoveArtifactServiceAsync.java, diff -r 1fd6d94407c1 -r 90b786325324 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.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(); diff -r 1fd6d94407c1 -r 90b786325324 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants.properties --- 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. diff -r 1fd6d94407c1 -r 90b786325324 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_de.properties --- 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. diff -r 1fd6d94407c1 -r 90b786325324 flys-client/src/main/java/de/intevation/flys/client/client/FLYSConstants_en.properties --- 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.