Open FerUy opened 7 years ago
Ho @FerUy
I need to test it. Do not understan the reason as for now.
Hi @vetss, sure. I accidentally faced it today while configuring a short code for a demo, never seen it before.
@FerUy I can not reproduce the ussue locally. I can remove even a rule with "333". May be the reason is other ? Can you constanly reproduce the issue (may be steps for me). Also may be some logs in GUI console or server.log ?
OK @vetss, I will try again and provide logs.
Hi @vetss, preparing a training a managed to test this. I get the following from Chrome console:
Uncaught SyntaxError: Invalid or unexpected token (function(event){deleteScRoutingRule('*333})
or see image below. Apparently it doesn't recognize the double quotes. Server.log shows absolutely nothing regarding the event.
When trying to deleting an invalid USSD shortcut by clicking in the appropriate button in "Routing Rule" window, nothing happens. Hence, a badly set shortcut is impossible to fix or delete. See attached image where accidentally 333" was configured but then impossible to correct or delete (tested with Google Chrome and Mozilla Firefox with identical results). That's all that happens, the tooltip appears but the rule stays no matter what you do in the GUI. If the shortcut is properly set (e.g. 101#), then it works normally. However, bad shortcut setting may happen and there's no fix available today for such scenario.![ussd-gw_delete_bad_shortcut_not_working](https://cloud.githubusercontent.com/assets/14883482/21859923/4b55c148-d80d-11e6-9ec4-d1f59e0838c8.png)