Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-2921

Only add _type to IdentityMap if using inherited class

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.3
    • Component/s: None
    • Labels:
      None

      Description

      MONGOID-2697 was forcing _type on all classe when pushing to identityMap. We must use the _type on the selector only when using subclasses.
      [Fixes MONGOID-2916]

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            arthurnn Arthur Nogueira Neves
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: