mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-9192: UpdateVpnCustomerGateway is failingReproducible Steps: ================ 1.Create a customer gateway for a VPC. 2.Edit it using UI(API call is UpdateVpnCustomerGateway). 3.When we try to update the customer vpn gateway with connection state is not in "Error", we see the API error but that won't be reflected to the user in UI. Actual Behaviour: ============== The API throws error. But UI doesn't show it to user. Expected Behaviour: ================ The UI should show the error to user. Fix: === TypeError: json.updatecustomergatewayresponse is undefined The response name was wrong so corrected it. It should be json.updatevpncustomergatewayresponse. Added the error function. * pr/1300: CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing Signed-off-by: Remi Bergsma <github@remi.nl>