1

Resolved

Term widget, select content specific content type. result in exception

description

1.xx
  1. Create a term widget
  2. Select a specific content type to filter
  3. Save widget en see frontend.
  4. Nothing is visible and you'lll find a exception in log file like:
Orchard.ContentManagement.Drivers.Coordinators.ContentPartDriverCoordinator - QueryException thrown from IContentPartDriver by Orchard.Taxonomies.Drivers.TermWidgetPartDriver
NHibernate.QueryException: could not resolve property: ContentType of: Orchard.Taxonomies.Models.TermsPartRecord...

I've included a working patch for this bug

file attachments

comments

Jetski5822 wrote Jun 14, 2013 at 7:22 AM

Thanks. I will take a look.

Jetski5822 wrote Jun 25, 2013 at 7:46 PM

Fixed in changeset 74910074ff12

CSADNT wrote Jun 25, 2013 at 8:09 PM

You should consider correcting also this in same file
                switch(part.OrderBy) {
                    case "CreatedUtc": orderBy = d => d.CreatedUtc; break;
                    case "PublishedUtc": orderBy = d => d.PublishedUtc; break;
                    case "ModifiedUtc": orderBy = d => d.ModifiedUtc; break;
                }
See https://orchard.codeplex.com/workitem/19656

sfmskywalker wrote Mar 28 at 12:28 AM

Fixed in changeset c2579f10f3f99607c0ac95474f1ec0b7b7015d9b