Mercurial > dive4elements > river
changeset 1521:f22713b5d29d
Repaired broken MapArtifact creation.
flys-client/trunk@3678 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 16 Jan 2012 08:34:37 +0000 |
parents | 77fdb2359ef4 |
children | df9baca681a0 |
files | flys-client/ChangeLog flys-client/src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-client/ChangeLog Fri Jan 13 12:14:58 2012 +0000 +++ b/flys-client/ChangeLog Mon Jan 16 08:34:37 2012 +0000 @@ -1,3 +1,11 @@ +2012-01-16 Ingo Weinzierl <ingo@intevation.de> + + * src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java: + Repaired MapArtifact creation: create new instances of this type if the + name of the Artifact (provided in the DESCRIBE document) equals + 'new_map'. The internal name of the MapArtifact has changed in the last + commits. + 2012-01-13 Raimund Renkert <raimund.renkert@intevation.de> * src/main/java/de/intevation/flys/client/client/ui/ModuleSelection.java:
--- a/flys-client/src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java Fri Jan 13 12:14:58 2012 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/FLYSArtifactCreator.java Mon Jan 16 08:34:37 2012 +0000 @@ -125,7 +125,7 @@ logger.debug("+++++ NEW WINFO ARTIFACT."); return new WINFOArtifact(uuid, hash, background, msg); } - else if (name.length() > 0 && name.equals("map")) { + else if (name.length() > 0 && name.equals("new_map")) { logger.debug("+++++ NEW MAP ARTIFACT."); return new MapArtifact(uuid, hash, background, msg); }