Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bex 444 posts 555 karma points
    Mar 08, 2011 @ 11:37
    Bex
    1

    Possible bug. Deleting payment methods

    Hi!

    I have installed the demo webshop and I am adapting it for my own test shop...

    The only payment method available I want is credit card so I went to delete "Account" from the payment methods

    It threw an error, I clicked away too soon to copy and paste it, but I checked the umbraco log and this was in there.

    At /umbraco/plugins/teacommerce/settings/orders/EditPaymentMethod.aspx?id=2 (Referred by: http://localhost:8032/umbraco/plugins/teacommerce/settings/orders/EditPaymentMethod.aspx?id=2): System.NullReferenceException: Object reference not set to an instance of an object.
       at TeaCommerce.Admin.Umbraco.plugins.TeaCommerce.Settings.Orders.EditPaymentMethod.SaveButton_Clicked(Object sender, ImageClickEventArgs e)
       at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)
       at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

    Now all the xslt files are throwing an error 

    System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (11,48). ---> System.IO.FileNotFoundException: Could not find file 'c:\windows\system32\inetsrv\cartStepProgress.xslt'. File name: 'c:\windows\system32\inetsrv\cartStepProgress.xslt' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at ...................

    It is likely the payment method was still assigned to one of the countries! 
    Bit of an explosion there though so not sure what happened!

     

     

    Bex 

  • Bex 444 posts 555 karma points
    Mar 08, 2011 @ 11:41
    Bex
    0

    UPDATE:

    Restarted website and all appears to be working again.. very very odd.. possible caching issue?

  • Rune Grønkjær 1372 posts 3103 karma points
    Mar 08, 2011 @ 13:02
    Rune Grønkjær
    0

    Hi Bex,

    Thanks for reporting the issue. Although your problem went away I have been testing it my self. Unfortunately I could not replicate the problem. Mine removes the payment method from all countries that use it as default payment method and I get no errors.

    You might have hit a weird corner case, so please write with more information later if you hit it again. Something must have went wrong in your Tea Commerce cache.

    /Rune

  • Bex 444 posts 555 karma points
    Mar 08, 2011 @ 14:36
    Bex
    0

    I will try and recreate it again later so I can give you some more details..!

  • Anders Burla 2560 posts 8256 karma points
    Mar 15, 2011 @ 09:42
    Anders Burla
    0

    @Bex - any more info about the problem?

    If not - could you please mark this ticket as solved and just create a new one if it happens for you again.

  • Bex 444 posts 555 karma points
    Mar 16, 2011 @ 09:54
    Bex
    0

    Hi Anders!

    Sorry no I have not had a chance to try again! 
    There's definitely a bug or something there some where though.

    I will mark this as resolved and open another post if I can make it do it again when I get a chance to test it!

     

    Bex

  • Anders Burla 2560 posts 8256 karma points
    Mar 16, 2011 @ 10:17
    Anders Burla
    0

    Super - we are ready when you are :)

Please Sign in or register to post replies

Write your reply to:

Draft