You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Sudha Ponnaganti (JIRA)" <ji...@apache.org> on 2013/08/20 23:55:52 UTC
[jira] [Commented] (CLOUDSTACK-2531) when comparing scopes, compare
scope ids by value, not reference.
[ https://issues.apache.org/jira/browse/CLOUDSTACK-2531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13745496#comment-13745496 ]
Sudha Ponnaganti commented on CLOUDSTACK-2531:
----------------------------------------------
Dave - can I close this defect ?? Have you tested it after Alena checked in the fix??
thanks
/sudha
> when comparing scopes, compare scope ids by value, not reference.
> -----------------------------------------------------------------
>
> Key: CLOUDSTACK-2531
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2531
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the default.)
> Components: API
> Affects Versions: 4.0.2
> Reporter: Dave Brosius
> Assignee: Dave Brosius
> Priority: Trivial
> Fix For: 4.2.0
>
> Attachments: 2531.txt
>
>
> code compares Long values with == which will work for Long cached values, but not others
> switched to use .equals
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira