This project is read-only.


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


  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


Jetski5822 wrote Jun 14, 2013 at 8:22 AM

Thanks. I will take a look.

Jetski5822 wrote Jun 25, 2013 at 8:46 PM

Fixed in changeset 74910074ff12

CSADNT wrote Jun 25, 2013 at 9: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;

sfmskywalker wrote Mar 28, 2014 at 1:28 AM

Fixed in changeset c2579f10f3f99607c0ac95474f1ec0b7b7015d9b