fix storage of metadatafacet
authorOlivier Lamy <olamy@apache.org>
Sun, 9 Jun 2013 12:25:45 +0000 (12:25 +0000)
committerOlivier Lamy <olamy@apache.org>
Sun, 9 Jun 2013 12:25:45 +0000 (12:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/sandbox/trunk@1491198 13f79535-47bb-0310-9956-ffa450edef68

metadata-store-cassandra/src/main/java/org/apache/archiva/metadata/repository/cassandra/CassandraMetadataRepository.java

index d82ebd6..4f15e60 100644 (file)
@@ -1130,7 +1130,7 @@ public class CassandraMetadataRepository
                     metadataFacetModel.setId( key );
                     metadataFacetModel.setKey( entry.getKey() );
                     metadataFacetModel.setFacetId( metadataFacet.getFacetId() );
-                    metadataFacetModel.setName( metadataFacetModel.getName() );
+                    metadataFacetModel.setName( metadataFacet.getName() );
                 }
                 metadataFacetModel.setValue( entry.getValue() );
                 try