Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0CD9109EB for ; Wed, 12 Feb 2014 23:12:23 +0000 (UTC) Received: (qmail 89201 invoked by uid 500); 12 Feb 2014 23:12:22 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 89083 invoked by uid 500); 12 Feb 2014 23:12:21 -0000 Mailing-List: contact issues-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list issues@cloudstack.apache.org Received: (qmail 89055 invoked by uid 500); 12 Feb 2014 23:12:20 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 88987 invoked by uid 99); 12 Feb 2014 23:12:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Feb 2014 23:12:20 +0000 Date: Wed, 12 Feb 2014 23:12:19 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-6089) resource tags show up in multiples MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899738#comment-13899738 ] ASF subversion and git services commented on CLOUDSTACK-6089: ------------------------------------------------------------- Commit d33798f0d9165f0e7d36dec869201b9334666267 in branch refs/heads/master from [~mlsorensen] [ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=d33798f ] CLOUDSTACK-6089: Implement equals() method for ResourceTagResponse so that the java Set can properly determine if a ResourceTagResponse is unique. This ensures we don't get duplicate resource tags showing up any time a UserVmResponse is crafted (which can be quite often due to the way the responses are crafted). > resource tags show up in multiples > ---------------------------------- > > Key: CLOUDSTACK-6089 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6089 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: Management Server > Affects Versions: 4.2.0, Future, 4.3.0 > Reporter: Marcus Sorensen > Assignee: Marcus Sorensen > Fix For: Future, 4.3.0 > > > Due to the way user_vm_view returns multiple rows when, for instance, a vm has multiple volumes, we're getting duplicate resource tags attached in all user vm responses. The NicResponse works around this by implementing an equals() method so that the Set containing Nics can enforce uniqueness, doing the same for resource tags. -- This message was sent by Atlassian JIRA (v6.1.5#6160)