Open lbathina opened 5 years ago
For scenario 1 these are the delivery service types:
and although TP and the TO api allows you to create new delivery service types, you really shouldn't because without other code changes, your new "type" will have no effect. These types are static in nature.
Can you check in the browser's dev console to ensure that an error isn't being returned and maybe the UI is simply failing to display it because fulfilling a ds without a type (because you deleted it) should DEFINITELY return an error.
^^ really, an issue here (in addition to the missing error message) is that TP/TO API should not let you create/edit/delete "static" types. On the other hand, creating/editing/deleting "dynamic" types is mostly OK. i.e. creating EDGE_FOO or MID_FOO is fine because creating anything that starts with EDGE or MID are the only 2 types that you can create dynamically. i'll created an issue for that - #3728
@lbathina - i tried scenario 1 -
and when i try to fulfill the ds request, i'm getting this error in the browser's dev console:
TypeError: Cannot read property 'name' of undefined at TableDeliveryServiceRequestsController.js:254
that is why "nothing" is happening. the error is preventing the UI from navigating to the fulfill page but the error is silent. I'll get a PR in for this.
re: scenario 2.
AAA
DS_profilethe real problem here is that the system should have never allowed you to delete a profile (AAA) that is associated with something. in this case the AAA is associated with an active ds request. the issue is really that you should not be able to delete any of these things (type, profile, cdn, tenant) if they are attached to an active (state=draft or submitted) ds request.
Sure. Will spin a new ticket for #2
Scenario 1 -> tracked in https://github.com/apache/trafficcontrol/issues/3728 this ticket for scenario 2
Scenario1:
On discussion with team it seem to be a static type that user is not supposed to create. In such case, the appropriate thing would be to restrict creation of types only to allowed ones.
Scenario2: