Close

Profile: officialreseller

Avatar

User posts

HelpDesk Plugin Version: 4.50.3
NopCommerce Version: 4.50.3

Page URL https://www.yourstore.com/HelpDesk/ManageTicketsList?status=5&customerId=0


When admin is trying to manage tickets by visiting manage tickets page and when there are open tickets then instead of showing the tickets list, the page throws a error popup and the log is added as below:

System.AggregateException: One or more errors occurred. (The added or subtracted value results in an un-representable DateTime. (Parameter 'value'))
---> System.ArgumentOutOfRangeException: The added or subtracted value results in an un-representable DateTime. (Parameter 'value')
   at System.DateTime.ThrowDateArithmetic(Int32 param)
   at SevenSpikes.Nop.Plugins.HelpDesk.Helpers.DueInCalculator.CalculateFinalDate(DateTime lastOpenDate, Double deadline)
   at SevenSpikes.Nop.Plugins.HelpDesk.Factories.TicketsModelFactory.CalculateDueInAsync(Ticket ticket)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
   at SevenSpikes.Nop.Plugins.HelpDesk.Factories.TicketsModelFactory.<PrepareTicketsListModelAsync>b__12_3(Ticket x)
   at System.Linq.AsyncEnumerable.SelectEnumerableAsyncIteratorWithTask`2.MoveNextCore() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/Select.cs:line 403
   at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77
   at System.Linq.AsyncIteratorBase`1.MoveNextAsync() in /_/Ix.NET/Source/System.Linq.Async/System/Linq/AsyncIterator.cs:line 77
   at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
   at System.Linq.AsyncEnumerable.<ToListAsync>g__Core|424_0[TSource](IAsyncEnumerable`1 source, CancellationToken cancellationToken) in /_/Ix.NET/Source/System.Linq.Async/System/Linq/Operators/ToList.cs:line 36
   at SevenSpikes.Nop.Plugins.HelpDesk.Factories.TicketsModelFactory.PrepareTicketsListModelAsync(Int32 page, Int32 pageSize, Int32 status, Int32 customerId, HelpDeskFilters filter, IEnumerable`1 sort, Boolean isManagingTickets)
   at SevenSpikes.Nop.Plugins.HelpDesk.Controllers.HelpDeskController.ManageTicketsList(ActionDataModel model)
   at lambda_method1247652(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Sco

We are yet to renew our theme and plugin licenses so I'm unable to submit a ticket.

The nopcommerce version is we have is 4.50.3 and the plugins match that version.

Can anyone look into this, please?

Found a bug in the help desk plugin installed on 4.50.3. I'm sure the problem occurs on the latest version too.

Bug Scenario:

Let us say a customer has created 2 tickets. Those tickets got ticket id as 1 and ticket id as 2.

The administrator/ticket staff tries to view those tickets by visiting:

https://www.mystore.com/HelpDesk/ViewTicket/1
https://www.mystore.com/HelpDesk/ViewTicket/2

The pages open and work fine.

After this let us say the administrator goes to the plugin settings in the admin panel and adds a new Ticket Attribute -> Drop Down List -> add a few attribute values

If the administrator/ticket staff tries to open those 2 tickets then we get an Object reference not set to an instance of an object exception.

Logs show below:

[code]
System.NullReferenceException: Object reference not set to an instance of an object.
   at SevenSpikes.Nop.Plugins.HelpDesk.Controllers.HelpDeskController.PrepareTicketAttributesModelAsync(Int32 ticketId)
   at SevenSpikes.Nop.Plugins.HelpDesk.Controllers.HelpDeskController.PrepareViewTicketModelAsync(ViewTicketPublicModel model, Ticket ticket)
   at SevenSpikes.Nop.Plugins.HelpDesk.Controllers.HelpDeskController.ViewTicket(Int32 id)
   at lambda_method1250277(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Nop.Services.Authentication.AuthenticationMiddleware.InvokeAsync(HttpContext context)
   at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 121
   at WebMarkupMin.AspNetCore6.WebMarkupMinMiddleware.ProcessAsync(HttpContext context, Boolean useMinification, Boolean useCompression)
   at WebMarkupMin.AspNetCore6.WebMarkupMinMiddleware.ProcessAsync(HttpContext context, Boolean useMinification, Boolean useCompr

one year ago

Is pavilion theme and plug-ins ultimate collection available for 4.6?

one year ago

todor.atanasov wrote:
Can a new Select products mapping be added for completed orders reminder. 

Use case: customers who bought a Subscription products or yearly renewal product can be reminded to renew their license or subscription before expiry. 

This will be great to get new orders from existing customers.

Greetings,

Thank you for reaching out to us!

Unfortunately, we cannot integrate our Conditions framework in this plugin, as this would cause a lot of issues with the performance.


Do you provide customization for paid service? Can you please let me know the estimate via a PM or email.

one year ago

Can a new Select products mapping be added for completed orders reminder. 

Use case: customers who bought a Subscription products or yearly renewal product can be reminded to renew their license or subscription before expiry. 

This will be great to get new orders from existing customers.

7 years ago

Hi,

Can you please try it at  your end once. I tried specific manufacturer itself, but still it just points to all.

7 years ago

but then... using this... root-category-items for a manufacturer.. is showing it in the side menu.. but the problem is the url... url is always pointed to /manufacturer/all ... even though I'm just adding a single manufacturer... Is there a work around for this please?

7 years ago

but then... using this... root-category-items for a manufacturer.. is showing it in the side menu.. but the problem is the url... url is always pointed to /manufacturer/all ... even though I'm just adding a single manufacturer... Is there a work around for this please?