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

Persist writing an attribute after a removal correctly

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 8.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Minor Change

      remove_attribute adds to delayed_atomic_unsets, but then if you write_attribute again, save and reload, the attribute is lost as the delayed_atomic_unsets isn't removed from that list when writing the attribute.

            Assignee:
            neil.shweky@mongodb.com Neil Shweky (Inactive)
            Reporter:
            michael@brightbits.co.uk Michael Baldry
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: