Atomic push incorrectly determines whether there is a conflict

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 7.2.0.rc1
    • Affects Version/s: None
    • Component/s: Persistence
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      Atomic push conflict detection uses a regular expression match:

      -          (push_fields.keys.count { |item| item =~ /#{name}/ } > 1)
      

      This comparison permits a subset of the field name to match the field name. Comparisons should be for the entire field name.

      Note that field name is already determined to not contain any dots hence a "single component" comparison should be suitable.

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: