When trying to merge two Learning users, the system throws a validation error: You cannot merge these two users due to an unexpected validation failure: error code = -7, error data.
SAP SuccessFactors Learning
Reproducing the Issue
In the Learning admin side, click:
Users > Tools > Merge Users > Search for "user1" and "user2" >
"user1" to "Merge From User ID" > "user2" to "Merge Into User ID" > Merge > Validation error.
The validation error happens during the merge action because one of the users that is involved in the merge is added as a task observer for the other user.
When the merge action happens, the merge validation throws the "failure: error code = -7, error data" exception to prevent the creation of inconsistent data and this is an expected behavior.
It would be necessary to remove the task observer relationship that is existing between the users. E.g.: have the task course removed from the user that has it assigned, perform the merge and add it back to the user.
error code = -7, error data =, merge, error, validation, user, learning , KBA , LOD-SF-LMS , SuccessFactors Learning , LOD-SF-LMS-ADM , Admin Tools , Problem