[
https://issues.apache.org/jira/browse/CLOUDSTACK-9814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15894215#comment-15894215
]
ASF GitHub Bot commented on CLOUDSTACK-9814:
--------------------------------------------
Github user yvsubhash commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/1987#discussion_r104140435
--- 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 --
Instead of changing the method that is getting called, the missing one in
search query can be added here and it seems the updateDomain method in
managementserviceimpl is not in use. It can be removed
> 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)