cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8890) Can no longer create VPC or other basic resources on projects because of CLOUDSTACK-7908
Date Wed, 23 Sep 2015 14:05:04 GMT

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

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

Commit 73c7ad9a4a409cba7f897c848145cbc7f6f96ae4 in cloudstack's branch refs/heads/master from
[~widodh]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=73c7ad9 ]

Merge pull request #878 from borisroman/CLOUDSTACK-8890

[4.6][BLOCKER]CLOUDSTACK-8890: Added isEmpty() check to prevent nullPointerException.Check
if the list is empty before trying to get the first entry. If the list is empty, in example
when dealing with projects, it will user the caller user id.

Tests to verify working order:
1. Deploy ACS
2. Create project
3. Create resource in project -> Should succeed!

* pr/878:
  Added isEmpty() check to prevent nullPointerException.

Signed-off-by: Wido den Hollander <wido@widodh.nl>


> Can no longer create VPC or other basic resources on projects because of CLOUDSTACK-7908
> ----------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8890
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8890
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.6.0
>            Reporter: Patrick D.
>            Priority: Blocker
>
> Steps to reproduce:
> - Create project
> - Try to create VPC in project
> - Fails
> This does not work for any resource owned by a project. The implemented code gets the
first user of the owner account, but in the case of a project (an account), there are no users,
which cause and IndexOutOfBoundsException -> (https://issues.apache.org/jira/browse/CLOUDSTACK-7908)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message