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

ASF GitHub Bot commented on TC-168:
-----------------------------------

GitHub user zhilhuan opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/314

    [TC-168] reject to delete cdn if server or ds associated

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zhilhuan/incubator-trafficcontrol TC-168

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/314.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #314
    
----
commit a6a86df1e98e96c6be85ffcd6c7bec6c0c0275a8
Author: Zhilin Huang <[email protected]>
Date:   2017-02-27T06:45:37Z

    reject to delete cdn if server or ds associated

----


> Traffic ops should not allow cdn to be deleted if servers are associated with 
> it 
> ---------------------------------------------------------------------------------
>
>                 Key: TC-168
>                 URL: https://issues.apache.org/jira/browse/TC-168
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops
>    Affects Versions: 1.7.0
>            Reporter: Zhilin Huang
>            Assignee: Zhilin Huang
>
> Traffic opS allows the user to delete a CDN with servers associated with a 
> CDN.
> This results in the CDN ID being NULL in the Traffic OPs DB. 
> The behaviour is not consistent with RESTful API as well.



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

Reply via email to