cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-9814) Unable to edit a Sub domain, which has the same name in different domains
Date Sat, 04 Mar 2017 08:22:45 GMT

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

ASF GitHub Bot commented on CLOUDSTACK-9814:
--------------------------------------------

Github user niteshsarda commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/1987#discussion_r104283067
  
    --- Diff: server/src/org/apache/cloudstack/region/RegionManagerImpl.java ---
    @@ -229,7 +232,7 @@ public boolean deleteUser(DeleteUserCmd cmd) {
          */
         @Override
         public Domain updateDomain(UpdateDomainCmd cmd) {
    -        return _domainMgr.updateDomain(cmd);
    +        return _managementService.updateDomain(cmd);
    --- End diff --
    
    @yvsubhash : As per your suggestion, I have changed the search query and also removed
the unused method updateDomain from managementserviceimpl class.
    
    Please check.


> Unable to edit a Sub domain, which has the same name in different domains
> -------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9814
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9814
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>            Reporter: Nitesh Sarda
>
> ISSUE
> ============
> Unable to edit a Sub domain, which has the same name in different domains.
> TROUBLESHOOTING
> ==================
> 1. Created two sub-domains with same name. Under two different domains.
> ROOT
> Domain 1 : Sample
> AA000001
> BB000001
> Domain 2 : Test
> AA000001
> 2. Try to edit resource - Click on edit - edit any parameter.
> EXPECTED BEHAVIOR
> ==================
> It should allow to edit the required parameter and update the value.
> ACTUAL BEHAVIOR
> ==================
> It throws an error "Failed to update specified domain id with name 'AA000001' since it
already exists in system. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message