invoice export is not possible with attribute combos

Friday, March 29, 2024 1:31:41 PM
  • Posted: Saturday, February 22, 2020 8:11 PM
  • 16
Hello,

we got a problem with exporting an invoice from an order with attribute combinations.

we found the following error in the log:
Value cannot be null. Parameter name: productAttributeParser

System.ArgumentNullException: Value cannot be null. Parameter name: productAttributeParser at Grand.Services.Catalog.ProductExtensions.GetSkuMpnGtin(Product product, String attributesXml, IProductAttributeParser productAttributeParser, String& sku, String& manufacturerPartNumber, String& gtin) in /app/Grand.Services/Catalog/ProductExtensions.cs:line 337 at Grand.Services.Catalog.ProductExtensions.FormatSku(Product product, String attributesXml, IProductAttributeParser productAttributeParser) in /app/Grand.Services/Catalog/ProductExtensions.cs:line 367 at Grand.Plugin.Misc.Pdf.Services.HtmlPdfService.PrintOrdersToPdf(Stream stream, IList`1 orders, String languageId, String vendorId) at Grand.Web.Areas.Admin.Controllers.OrderController.PdfInvoice(String orderId) in /app/Grand.Web/Areas/Admin/Controllers/OrderController.cs:line 687 at Microsoft.AspNetCore.Mvc.Internal.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeNextActionFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Rethrow(ActionExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync() at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync() at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext) at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context) at Grand.Framework.Infrastructure.WorkContextMiddleware.InvokeAsync(HttpContext context, IWorkContext workContext) in /app/Grand.Framework/Infrastructure/WorkContextMiddleware.cs:line 46 at Grand.Framework.Infrastructure.StoreContextMiddleware.InvokeAsync(HttpContext context, IStoreContext storeContext) in /app/Grand.Framework/Infrastructure/StoreContextMiddleware.cs:line 41 at Grand.Services.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) in /app/Grand.Services/Authentication/AuthenticationMiddleware.cs:line 82 at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Grand.Core.Http.InstallUrlMiddleware.Invoke(HttpContext context, IWebHelper webHelper) in /app/Grand.Core/Http/InstallUrlMiddleware.cs:line 49 at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context) at NetEscapades.AspNetCore.SecurityHeaders.SecurityHeadersMiddleware.Invoke(HttpContext context) in C:\projects\netescapades-aspnetcore-securityheaders\src\NetEscapades.AspNetCore.SecurityHeaders\SecurityHeadersMiddleware.cs:line 97 at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionH
0
  • Posted: Saturday, February 22, 2020 10:28 PM
  • 16
fyi, we are using the pdf plugin from the marketplace
0
  • Posted: Monday, February 24, 2020 7:31 AM
  • 953
Hi Dennis,

We will check it, can you reach us at support@grandnode.com?
Best regards,
Patryk

GrandNode Team
0
  • Posted: Tuesday, February 25, 2020 7:07 AM
  • 953
Dennis,

Just for public information, we've solved the problem, you can get the updated package from the store.
Best regards,
Patryk

GrandNode Team
0
back to top
Filters