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

Fix Storable.add_field_expression() when adding a nested String operator equivalent to an existing nested Symbol operator

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 7.2.1
    • Component/s: Query
    • None

      Storable.add_field_expression() doesn't correctly handle adding a nested String operator that is equivalent to an existing nested Symbol operator. 

      This is the second piece of a Symbol-String bug manifesting in a chained Query.where().where(). The first piece is addressed in MONGOID-5066 and its accompanying PR.

      The PR is already ready to be reviewed/merged: https://github.com/mongodb/mongoid/pull/4966

            Assignee:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Reporter:
            dalton.black@braze.com Dalton Black
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: