#pluck broken with localized + aliased fields (needs to cover both non-embedded and embedded cases)

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.9
    • Affects Version/s: None
    • Component/s: None
    • None
    • 🔵 Done
    • Fully Compatible
    • Ruby Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      The following cases do not work as intended, and return nil:

      • #pluck with localized + aliased field
      • #pluck with embedded + localized + aliased field

      I think the best fix will patch #cleanse_localized_field_names so that it correctly calls database_field_name after removing _translations from the name.

            Assignee:
            Jamis Buck
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: