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

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

Github user rafaelweingartner commented on the issue:

    https://github.com/apache/cloudstack/pull/1987
  
    @niteshsarda I suggest you adding line 2281 from "managementService" to 
"domainMgr". The only difference between those two methods is this line. 
Assuming that you changed the method calls, and then everything started 
working. 
    
    Then, please delete the 
com.cloud.server.ManagementServerImpl.updateDomain(UpdateDomainCmd), it is not 
used. It is incredible to have a method with ~100 duplicated between classes.



> 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)

Reply via email to