# HG changeset patch # User Sascha L. Teichmann # Date 1312294400 0 # Node ID 2ed77f7e1bab7ead09caab9f76a623eb9d2f328a # Parent 824051dff0180deb58b69642351d2e4573debdc2 Swapped SQL parameter indices when fetching collection name. artifacts/trunk@2455 c6561f87-3c4e-4783-a992-168aeb5c3f6f diff -r 824051dff018 -r 2ed77f7e1bab ChangeLog --- a/ChangeLog Tue Aug 02 14:05:34 2011 +0000 +++ b/ChangeLog Tue Aug 02 14:13:20 2011 +0000 @@ -1,3 +1,8 @@ +2011-08-02 Sascha L. Teichmann + + * artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java: + Swapped SQL parameter indices when fetching collection name. + 2011-08-02 Sascha L. Teichmann * artifacts/src/main/java/de/intevation/artifacts/ArtifactDatabase.java: diff -r 824051dff018 -r 2ed77f7e1bab artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java --- a/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java Tue Aug 02 14:05:34 2011 +0000 +++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/Backend.java Tue Aug 02 14:13:20 2011 +0000 @@ -1762,8 +1762,8 @@ while (result.next()) { String userId = result.getString(1); String collectionId = result.getString(2); - String artifactId = result.getString(3); - String collectionName = result.getString(4); + String collectionName = result.getString(3); + String artifactId = result.getString(4); String factoryName = result.getString(5); Artifact artifact = alreadyLoaded.get(artifactId);