logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
Joe Payne2  
#1 Posted : Friday, January 27, 2023 11:42:07 AM(UTC)
Joe Payne2

Rank: Advanced Member

Groups: HelpDesk, Developers
Joined: 11/9/2018(UTC)
Posts: 564

Thanks: 122 times
Was thanked: 26 time(s) in 25 post(s)
Steps to reproduce:

1. Create a new shipping coupon, do not set a start or end date
2. Save the coupon
3. Edit the coupon you just created
4. Set the start date to any date
5. Click Save

The page does not save the changes.

Browser console shows javascript validation error. Actual error message is:

Quote:

The parameters dictionary contains a null entry for parameter 'EndDate' of non-nullable type 'System.DateTime' for method 'System.Web.Mvc.ActionResult ValidateStartEndDate(System.DateTime, System.DateTime)' in 'AbleCommerce.Controllers.ValidationController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
Parameter name: parameters

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Katie S  
#2 Posted : Friday, January 27, 2023 3:21:51 PM(UTC)
Katie S

Rank: Advanced Member

Groups: System, Administrators, Developers, Registered, HelpDesk
Joined: 10/29/2018(UTC)
Posts: 472

Thanks: 4 times
Was thanked: 34 time(s) in 33 post(s)
Hi Joe,

I was able to reproduce this in 9.0.7. If a start date is entered, then the form requires an end date. This is a bug and I have it reported.

Thanks for letting us know.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
thanks 1 user thanked Katie S for this useful post.
Joe Payne2 on 1/30/2023(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.