# HG changeset patch # User Raimund Renkert # Date 1318599321 0 # Node ID b18b32269a3f89e634dde2bcf38eab85758ebdec # Parent ab93960ac2fb86546d1d80293df60f9308d23113 Set the correct index when saving changed attributes. flys-client/trunk@2973 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r ab93960ac2fb -r b18b32269a3f flys-client/ChangeLog --- a/flys-client/ChangeLog Fri Oct 14 12:56:31 2011 +0000 +++ b/flys-client/ChangeLog Fri Oct 14 13:35:21 2011 +0000 @@ -1,3 +1,8 @@ +2011-10-14 Raimund Renkert + + * src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java: + Set the correct index when saving changed attributes. + 2011-10-14 Ingo Weinzierl flys/issue288 (ÜSK: Legende hinzufügen) diff -r ab93960ac2fb -r b18b32269a3f flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java --- a/flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java Fri Oct 14 12:56:31 2011 +0000 +++ b/flys-client/src/main/java/de/intevation/flys/client/server/CollectionItemAttributeServiceImpl.java Fri Oct 14 13:35:21 2011 +0000 @@ -174,7 +174,7 @@ Element theme = creator.create("theme"); theme.setAttribute("name", s.getName()); theme.setAttribute("facet", s.getFacet()); - theme.setAttribute("index", String.valueOf(i)); + theme.setAttribute("index", String.valueOf(s.getIndex())); for (int j = 0; j < s.getNumSettings(); j++) { StyleSetting set = s.getSetting(j); Element field = creator.create("field");