---

** [tickets:#8069] Ticket search error: undefined field assigned_to**

**Status:** in-progress
**Milestone:** unreleased
**Created:** Fri Mar 18, 2016 09:58 PM UTC by Dave Brondsema
**Last Updated:** Fri Mar 18, 2016 09:58 PM UTC
**Owner:** Dave Brondsema


Ticket searches may sometimes error out with "undefined field assigned_to", 
since searches grab one arbitrary ticket and call `index()` on it to determine 
what fields exist (to append `_s` etc to match solr naming).  But `index()` on 
`Ticket` doesn't always include `assigned_to_s`.

Easiest way to reproduce is with a fresh data set (or `db.ticket.remove({})`) 
and then create a ticket without an owner.  Then search for `assigned_to:foo` 
and get the error.


---

Sent from forge-allura.apache.org because [email protected] is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to