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

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

Github user nitin-maharana commented on the pull request:

    https://github.com/apache/cloudstack/pull/775#issuecomment-143041644
  
    Hi. Here we have to access the database to see the behaviour of replace 
function. Because the replace function is evaluated in database server side. 
But in unit test we cannot access the database. We know the replace function 
will work properly if the parameters are sent correctly. So I have tested 
whether the parameters are sent correctly to the replace function while 
executing. I have done in two scenarios. Before the code change and after this 
commit. I have shared two screenshots of my test.
    
    1. Behaviour before this commit
    
![pr_775_before_change](https://cloud.githubusercontent.com/assets/12583725/10085731/65abb18e-6328-11e5-8060-a1c4c8fab9ee.png)
    
    2. Behaviour after this commit
    
![pr_775_after_change](https://cloud.githubusercontent.com/assets/12583725/10085734/6aeaf0ec-6328-11e5-9211-689ab5e347d0.png)
    



> Domains become inactive automatically.
> --------------------------------------
>
>                 Key: CLOUDSTACK-8805
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8805
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Nitin Kumar Maharana
>
> If there is a domain with name '%', if we force delete the '%' domain then 
> all the other domains become inactive except Root domain.



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

Reply via email to