Spring Data MongoDB
  1. Spring Data MongoDB
  2. DATAMONGO-620

MongoTemplate.doSaveVersioned(…) does not consider collection handed into the method

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.2 GA
    • Fix Version/s: 1.2.1, 1.3 M1
    • Component/s: Core
    • Labels:
      None

      Description

      doSaveVersioned(…) calls updateFirst(query, update, objectToSave.getClass()) in an update case which essentially neglects the collectionName originally handed into the method.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Oliver Gierke
            Reporter:
            Oliver Gierke
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: