You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Alena Prokharchyk (JIRA)" <ji...@apache.org> on 2013/06/20 00:32:20 UTC
[jira] [Resolved] (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:all-tabpanel ]
Alena Prokharchyk resolved CLOUDSTACK-2531.
-------------------------------------------
Resolution: Fixed
Fix Version/s: 4.2.0
Fixed with 49faa002e220311f10a5f99993fad66a22836dad
> 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