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

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

index 8860ebb..d82ebd6 100644 (file)
@@ -1100,7 +1100,7 @@ public class CassandraMetadataRepository
             metadataFacetModel.setArtifactMetadataModel( artifactMetadataModel );
             metadataFacetModel.setId( key );
             metadataFacetModel.setFacetId( metadataFacet.getFacetId() );
-            metadataFacetModel.setName( metadataFacetModel.getName() );
+            metadataFacetModel.setName( metadataFacet.getName() );
 
             try
             {