Hello, I have a problem, when I click in backofice/Tea Commerce /My Shop/ Orders =>New it returns error:
Server Error in '/' Application.
DataBinding: 'TeaCommerce.Api.Models.PaymentInformation' does not contain a property with the name 'PaymentMethodPollViewModelId'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: DataBinding: 'TeaCommerce.Api.Models.PaymentInformation' does not contain a property with the name 'PaymentMethodPollViewModelId'.
Source Error:
Line 121: </td>
Line 122: <td>
Line 123: <%# Eval( "PaymentInformation.PaymentMethodId" ) != null ? PaymentMethodService.Instance.Get(StoreId, (long)Eval( "PaymentInformation.PaymentMethodPollViewModelId" )).Name : "" %>
Line 124: </td>
Line 125: <td>
Source File: c:\Repos\S_Umb_Ladywalk2016v2\Bricks.Web\App_Plugins\TeaCommerce\Views\Orders\SearchOrders.aspx Line: 123
Stack Trace:
[HttpException (0x80004005): DataBinding: 'TeaCommerce.Api.Models.PaymentInformation' does not contain a property with the name 'PaymentMethodPollViewModelId'.]
System.Web.UI.DataBinder.GetPropertyValue(Object container, String propName) +3883747
System.Web.UI.DataBinder.Eval(Object container, String[] expressionParts) +95
ASP.app_plugins_teacommerce_views_orders_searchorders_aspx.__DataBind__control74(Object sender, EventArgs e) in c:\Repos\S_Umb_Ladywalk2016v2\Bricks.Web\App_Plugins\TeaCommerce\Views\Orders\SearchOrders.aspx:123
System.Web.UI.Control.OnDataBinding(EventArgs e) +102
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +177
System.Web.UI.Control.DataBindChildren() +252
System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +194
System.Web.UI.WebControls.ListView.CreateItemsWithoutGroups(ListViewPagedDataSource dataSource, Boolean dataBinding, InsertItemPosition insertPosition, ArrayList keyArray) +1144
System.Web.UI.WebControls.ListView.CreateChildControls(IEnumerable dataSource, Boolean dataBinding) +1281
System.Web.UI.WebControls.ListView.PerformDataBinding(IEnumerable data) +53
System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +165
System.Web.UI.WebControls.ListView.PerformSelect() +128
TeaCommerce.Umbraco.Application.Views.Orders.SearchOrders.Search() +2109
TeaCommerce.Umbraco.Application.Views.Orders.SearchOrders.OnLoad(EventArgs e) +1390
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Do you have this problem before, I've tried to search online this exception and also on this forum, but i found nothing.. Do I miss something in my payments method, or what?
Ok, I'm sorry for even putting it here. It seems Resharper change name of this property when I've renaming other property from different class but with the same name. This topic can be closed. or deleted if you prefere.
Exception when viewing new orders
Hello, I have a problem, when I click in backofice/Tea Commerce /My Shop/ Orders =>New it returns error:
Do you have this problem before, I've tried to search online this exception and also on this forum, but i found nothing.. Do I miss something in my payments method, or what?
When I delete all orders it render view without errors but if i add new order this error appear.
Ok, I'm sorry for even putting it here. It seems Resharper change name of this property when I've renaming other property from different class but with the same name. This topic can be closed. or deleted if you prefere.
Great you got it solved :)
is working on a reply...