# HG changeset patch # User Felix Wolfsteller # Date 1320933843 0 # Node ID baada4879c20b677b924dec9cfb2f18cf28f0af3 # Parent f554dce42d66eeadf8ee2050f6e4b2957a07d59a Fix clone of static artifacts for differences. flys-client/trunk@3225 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r f554dce42d66 -r baada4879c20 flys-client/ChangeLog --- a/flys-client/ChangeLog Thu Nov 10 13:59:48 2011 +0000 +++ b/flys-client/ChangeLog Thu Nov 10 14:04:03 2011 +0000 @@ -1,3 +1,10 @@ +2011-11-10 Felix Wolfsteller + + Fix cloning of static data artifacts, resolved todos. + + * src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java: + Remove temporary hack that depended on dc conf. + 2011-11-10 Raimund Renkert Issue 355. diff -r f554dce42d66 -r baada4879c20 flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java --- a/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java Thu Nov 10 13:59:48 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/client/ui/DatacageTwinPanel.java Thu Nov 10 14:04:03 2011 +0000 @@ -305,10 +305,7 @@ if(firstR.getIDs() != null) { GWT.log("First IDs: " + firstR.getIDs() + " factory: " + firstR.getFactory()); } - // TODO resolve this hack, fix datacage/recommendation for this case. - if(firstR.getIDs() != null && - firstR.getIDs().startsWith("flood_protection")) - { + if(firstR.getIDs() != null) { // These do not get cloned but loaded ("spawned"). firstR.setFactory("staticwkms"); } @@ -319,9 +316,7 @@ if(secondR.getIDs() != null) { GWT.log("Second IDs: " + secondR.getIDs() + " factory: " + secondR.getFactory()); } - if(secondR.getIDs() != null - && secondR.getIDs().startsWith("flood_protection")) - { + if (secondR.getIDs() != null) { // These do not get cloned but loaded ("spawned"). secondR.setFactory("staticwkms"); }