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

ASF GitHub Bot commented on CLOUDSTACK-9192:
--------------------------------------------

GitHub user nitin-maharana opened a pull request:

    https://github.com/apache/cloudstack/pull/1300

    CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing

    Reproducible 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.

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

    $ git pull https://github.com/nitin-maharana/CloudStack 
CloudStack-Nitin10_4.7

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

    https://github.com/apache/cloudstack/pull/1300.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 #1300
    
----
commit c4669fa4f8b320fd5ec2ba6a78bab37498115fa9
Author: Nitin Kumar Maharana <[email protected]>
Date:   2015-12-21T10:34:17Z

    CLOUDSTACK-9192: UpdateVpnCustomerGateway is failing
    
    The response name was wrong so corrected it.
    Added the error function.

----


> UpdateVpnCustomerGateway is failing
> -----------------------------------
>
>                 Key: CLOUDSTACK-9192
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9192
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>            Reporter: Nitin Kumar Maharana
>
> Reproducible 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to