Type: Problem report
Affects Version/s: None
Sprint:Sprint 71 (Dec 2020), Sprint 72 (Jan 2021), Sprint 73 (Feb 2021), Sprint 74 (Mar 2021), Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021)
Steps to reproduce:
- Navigate to Administration -> Media types -> Create media type
- Create media type with following data:
- Type: Webhook
- Script: Please put any js code.
- Parameters: Let the default parameters will stay.
- Press "Add" button to save a mediatype
- Click to edit the created media type.
- Change the type from "Webhook" to "SMS", add some text to "GSM modem" and press "Update".
- Make API request to method mediatype.get specifying the ID of created media type.
After changing the type, the response of mediatype.get still contains the parameters for webhook.
Parameters field contains empty array after media type update with changed type from "Webhook" to any other type.