Bug on order details for vendor

Tuesday, September 29, 2020 2:52:27 PM
  • Posted: Wednesday, August 5, 2020 5:28 AM
  • 97
Hi everybody,

With 4.70, I get this error when I try open detail of an order from vendor access. It's on order with shipping point.

Thanks.


InvalidOperationException: <ShippingPointSerializable xmlns=''> was not expected.

    Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderList1.Read3_Item()


InvalidOperationException: There is an error in XML document (2, 2).

    System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, string encodingStyle, XmlDeserializationEvents events)
    System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader)
    Grand.Plugin.Shipping.ByVendor.Services.VendorOrderViewModelService.PrepareOrderDetailsModel(OrderModel model, Order order)
    Grand.Web.Areas.Admin.Controllers.OrderController.Edit(string id) in OrderController.cs

                await _orderViewModelService.PrepareOrderDetailsModel(model, order);

Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor+TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, object controller, object[] arguments)
System.Threading.Tasks.ValueTask<TResult>.get_Result()
System.Runtime.CompilerServices.ValueTaskAwaiter<TResult>.GetResult()
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask<IActionResult> actionResultValueTask)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(ref State next, ref Scope scope, ref object state, ref bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|19_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, object state, bool isCompleted)
Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
Grand.Framework.Middleware.WorkContextMiddleware.Invoke(HttpContext context, IWorkContext workContext) in WorkContextMiddleware.cs

                await _next(context);

Grand.Framework.Middleware.StoreContextMiddleware.Invoke(HttpContext context, IStoreContext storeContext) in StoreContextMiddleware.cs

                await _next(context);

Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
Grand.Framework.Middleware.PoweredByMiddleware.InvokeAsync(HttpContext context, IPoweredByMiddlewareOptions options) in PoweredByMiddleware.cs

                await _next.Invoke(context);

Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
Grand.Framework.Middleware.InstallUrlMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in InstallUrlMiddleware.cs
0
  • Posted: Wednesday, August 5, 2020 6:54 AM
  • Team
  • 66
Laurent wrote:
error when I try open detail of an order from vendor access. It's on order with shipping point

Was able to reproduce issue, but that is related to two plugins - shipping point and shipping by vendor. Will do task for developer to solve conflict.
Thank you for notification.
Best regards,
Tomasz
GrandNode Team
0
  • Posted: Wednesday, August 5, 2020 9:12 AM
  • Team
  • 66
Fixed.
Plugin has been updated at our store. Just need to redownload it from own account and replace files.
Do not forget to restart application after replacement.
Best regards,
Tomasz
GrandNode Team
0
  • Posted: Thursday, August 6, 2020 4:46 AM
  • 97
It's ok for me now ! Thanks a lot.
0
  • Posted: Wednesday, September 2, 2020 12:06 PM
  • 13
If you deactive the vendor, customer can purchase the product from the vendor who is deactivated. Therefore, if vendor is deactivated, customer should not do buying product from the vendor.

I think this is a bug.
0
  • Posted: Wednesday, September 2, 2020 5:02 PM
  • Team
  • 709
Hello Nader,

We will think about it, however, for now there is no relationship between the product and the vendor's publish status. So it's expected behavior.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters