Updating embedded docs with a different _id is not working in 7.3

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Critical - P2
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Hi

       

      Since upgrading to mongoid 7.3.3, updating an embedded with a hash containing a different _id is skipped. Not sure if this is by design or not, but it wasn't the case prior to this upgrade. Verified with mongoid 7.0.12.

      Reason is this change which is a part of this ticket

      Is it by design? if so, i suggest it would be listed as a breaking change.

      Reproduced in attached gist

       

      Thanks

      Boaz

            Assignee:
            Jamis Buck
            Reporter:
            Boaz Adato
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: