Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Creating this to promote awareness of the apparent underlying issue in Entityreference: #2151631: Improve performance of getReferencableEntities(). Marking as postponed based on that issue.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2151637-trustedcontacts-autocomplete-3.patch | 2.51 KB | japerry |
Comments
Comment #1
ezra-g CreditAttribution: ezra-g commentedFollowing discussion in #2151631, it turns out that the user_trusted_contacts field is actually an options select list, thus the need to query on all referencable entities. This isn't apparent without looking at the field definition because this is meant to be used programmatically and we hide it in the UI.
So, the change here is to make the widget type for user_trusted_contacts an autocomplete widget, even though users should never see the field :). Adding to the Commons 3.6 radar and marking as "critical" since it's pretty disruptive to be unable to edit user accounts.
Comment #2
japerryComment #3
japerryHere is a patch for to revert the options list into an autocomplete
Comment #4
japerryComment #5
japerryI've tested against new installs and upgrade paths, all seem to work. I've committed this in prep for tomorrows release, but if we have other performance issues, feel free to re-open.
http://drupalcode.org/project/commons.git/commit/f5f25c3