Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-11457

Sequential queued sync duplicates user on create and immediate update

    XMLWordPrintable

Details

    Description

      When queued sync is set to sequential and update of one user is immediately ran after user creation, first user is saved in CSV twice

      Steps to reproduce

      1. Set getting-started sample for sequential queued sync
      2. Run several create->updates of users
      3. First user should be twice in CSV file and rest GET

      CSV file

      "firstName","uid","lastName","email","employeeNumber"
      "nick","weJyNxh8","stutter","rick@example.com",
      "nick","weJyNxh8","stutter","rick@example.com",
      "nick","MeOwD8GG","stutter","rick@example.com",
      "nick","YsOeSdwR","stutter","rick@example.com",
      "nick","5N2gvCL9","stutter","rick@example.com",
      "nick","9wvyUfLb","stutter","rick@example.com",
      "nick","yLRgMpCL","stutter","rick@example.com",
      "nick","3DgDrY3q","stutter","rick@example.com",
      "nick","9cO7Q5Wy","stutter","rick@example.com",
      "rick","zxe11nf9","sutter","rick@example.com",
      

      GET

      First and second _id is same

      	curl --header "X-OpenIDM-Username: openidm-admin" --header "X-OpenIDM-Password: openidm-admin"  --request GET "curl http://localhost:8080/openidm/system/hr/account?_queryId=query-all-ids"
      
      Response Content:
      {"result":[{"_id":"weJyNxh8","uid":"weJyNxh8"},{"_id":"weJyNxh8","uid":"weJyNxh8"},{"_id":"MeOwD8GG","uid":"MeOwD8GG"},{"_id":"YsOeSdwR","uid":"YsOeSdwR"},{"_id":"5N2gvCL9","uid":"5N2gvCL9"},{"_id":"9wvyUfLb","uid":"9wvyUfLb"},{"_id":"yLRgMpCL","uid":"yLRgMpCL"},{"_id":"3DgDrY3q","uid":"3DgDrY3q"},{"_id":"9cO7Q5Wy","uid":"9cO7Q5Wy"},{"_id":"zxe11nf9","uid":"zxe11nf9"},{"_id":"aXmCZfvC","uid":"aXmCZfvC"},{"_id":"aIfAKbUS","uid":"aIfAKbUS"}],"resultCount":12,"pagedResultsCookie":"MA%3D%3D","totalPagedResultsPolicy":"NONE","totalPagedResults":-1,"remainingPagedResults":-1}
      

      Attachments

        Activity

          People

            dhogan Dirk Hogan
            michal.orlik@profiq.cz Michal Orlik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: