You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/02/13 00:10:20 UTC

[jira] [Commented] (CLOUDSTACK-6089) resource tags show up in multiples

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6089?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13899735#comment-13899735 ] 

ASF subversion and git services commented on CLOUDSTACK-6089:
-------------------------------------------------------------

Commit 06ae23710ddc3784939bcd499b7437c13495bb88 in branch refs/heads/4.3-forward from [~mlsorensen]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=06ae237 ]

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)