Hi,
I found on a 9.10.13 site (https://dev-syndicate.mydwsite1.com/Admin/Default) that the User Provider allows the import of duplicate values to the primary key field.
Duplicates are allowed only the first time the record is created in Dynamicweb:
- If the first batch contains 40 duplicate records with an AccessUserExternalId that does not already exist in the databae, 40 records will be created
- Once the record exists, we see the expected behavior of updating just the one existing record
To repro:
- Query: delete from accessuser where accessuseremail like '%sutton@syndi%' and AccessUser_UserType = 'Login'
- Save the XML in the attached file to Files\Files\Integration\ImportLogins.xml
- Run the _FSCMImport Logins Data Integration job
- Query: select accessuserid, accessuserusername, accessuseremail, AccessUserGroups, accessuserexternalid, AccessUserCreatedOn, AccessUser_LastSyncDate from accessuser where accessuseremail like '%sutton@syndi%' and AccessUser_UserType = 'Login'
- Note that all 4 records were created at the same time
Expected behavior: the import should fail on the insertion of duplicate values to the selected primary key column
Note: setting the “Discard duplicate key rows” Destination Settings parameter behaves correctly in preventing duplicates.
Thanks for your help,
Carolee