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
judy at Web2Market  
#1 Posted : Wednesday, September 18, 2019 9:35:19 AM(UTC)
judy at Web2Market

Rank: Advanced Member

Groups: Developers
Joined: 11/7/2018(UTC)
Posts: 303

Thanks: 21 times
Was thanked: 5 time(s) in 5 post(s)
I had only one site to test this on so I don't know if is a data anomaly from a site that upgraded and had no manufacturers, but if there are no manufacturers, the Admin/People/Manufacturers throws an error.

Value cannot be null.
Parameter name: source

Line 17: </div>
Line 18: <div class="ibox-content">
Line 19: @if (Model.Any())
Line 20: {
Line 21: <div class="row">

If I change it to @if (Model !=null && Model.Any()) , there is no error.

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

Katie S  
#2 Posted : Thursday, September 19, 2019 8:23:17 AM(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)
I can reproduce the error. Thanks for taking the time to let us know.

Issue id AC9-1283.
Thanks for your support!

Katie
Secure eCommerce Software and Hosting
Users browsing this topic
Guest (2)
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.