[ https://issues.apache.org/jira/browse/CLOUDSTACK-8805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14791220#comment-14791220 ]
ASF GitHub Bot commented on CLOUDSTACK-8805: -------------------------------------------- Github user DaanHoogland commented on the pull request: https://github.com/apache/cloudstack/pull/775#issuecomment-140910285 @rafaelweingartner we keep growing methods and not writing unit tests. Thus our code base is worsening in quality or at least in maintainability. However trivial we should keep refactorring and adding unit test in order to prevent things like "First the method is huge (around 100 lines), and second it is a method that performs database access (it builds "queries" to retrieve data). Maybe,...". I dont want to mis-quote you but am getting weary of all the reasons not to write unit tests. There is a lot of valid reasons and we should break through and focus on writing more (unit-)tests anyway (not discarding integration tests on the way). So as you say let's refactor the method and add the unit tests. even when trivial at the moment and discarding 90% of them along the way we will not regret putting in the effort. > 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)