Rank: Member
Joined: 4/4/2005(UTC) Posts: 15
|
Hello all
I recently upgraded to 5.7.4.14. When I change my display template to Grids with Subs I get the error message below. if I switch it back to grid the error message goes away. Is anyone else having the same issue? Does anyone have a work around to fix this?
Thanks TOm
------------------------------------Error Message-------------------------------------------- Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30455: Argument not specified for parameter 'includeHidden' of 'Public Shared Function FindChildrenInCollection(allCats As System.Collections.ObjectModel.Collection(Of BVSoftware.Bvc5.Core.Catalog.Category), parentId As String, includeHidden As Boolean) As System.Collections.ObjectModel.Collection(Of BVSoftware.Bvc5.Core.Catalog.Category)'.
Source Error:
Line 63: Private Sub LoadSubCategories() Line 64: _AllCats = Catalog.Category.FindAll() Line 65: Me.DataList2.DataSource = Catalog.Category.FindChildrenInCollection(_AllCats, LocalCategory.Bvin) Line 66: Me.DataList2.DataBind() Line 67: End Sub
Source File: C:\inetpub\wwwroot\TFTBV573\www\BVModules\CategoryTemplates\Grid with Subs\Category.aspx.vb Line: 65
Show Detailed Compiler Output:
Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4
|
|
|
|
Rank: Member
Joined: 9/20/2006(UTC) Posts: 92
|
Tom,
Change line #65 of www\BVModules\CategoryTemplates\Grid with Subs\Category.aspx.vb FROM:
Me.DataList2.DataSource = Catalog.Category.FindChildrenInCollection(_AllCats, LocalCategory.Bvin)
TO:
Me.DataList2.DataSource = Catalog.Category.FindChildrenInCollection(_AllCats, LocalCategory.Bvin, false)
|
|
|
|
Rank: Member
Joined: 4/4/2005(UTC) Posts: 15
|
That worked. What was causing the issue?
|
|
|
|
Rank: Member
Joined: 1/10/2005(UTC) Posts: 714
Thanks: 14 times Was thanked: 1 time(s) in 1 post(s)
|
We had the same problem. The fix above corrected the issue.
|
|
|
|
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.