[FOLIO-1012] Unable to load more than one user at a time with mod-user-import Created: 03/Jan/18  Updated: 12/Nov/18  Resolved: 04/Jan/18

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Bug Priority: P3
Reporter: Jon Miller Assignee: Katalin Lovagné Szűcs
Resolution: Done Votes: 0
Labels: sprint29
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Sprint:

 Description   

I'm not sure if this is the correct place to submit an issue for the mod-user-import module. If it's not, please let me know where I should post this.

I'm attempting to use the mod-user-import module to load some sample user data. I'm able to use it successfully if I only provide one user in the JSON. If I provide more than one, as in the following, I receive an error of Internal Server Error "Failed to import users. Error message: Failed to process user search result." I'm new to working with JSON. Maybe I have something wrong with the JSON array? Though, I'm using JSON.NET to generate it. As far as I know it should be correct. I have also tried leaving the id values null and the behavior is the same.

{
"users": [
{
"id": "fff21a03-36e1-4009-9afd-4be95e6bf8e2",
"username": "test0636505896439556203",
"active": true,
"patronGroup": "admin",
"personal":

{ "firstName": "test0636505896439556203", "lastName": "test0636505896439556203" }

},
{
"id": "0b45b533-ebc2-4d04-91f7-cf700e6a607a",
"username": "test1636505896439560653",
"active": true,
"patronGroup": "admin",
"personal":

{ "firstName": "test1636505896439560653", "lastName": "test1636505896439560653" }

}
],
"totalRecords": 2,
"deactivateMissingUsers": false,
"updateOnlyPresentFields": false,
"sourceType": "test"
}



 Comments   
Comment by Robert Sass [ 04/Jan/18 ]

I'm assigning this to Katalin Lovagné Szűcs, She is the developer of this module.

Comment by Katalin Lovagné Szűcs [ 04/Jan/18 ]

There was an issue when searching for existing users. I fixed this and it will be available in the next build.

Comment by Jon Miller [ 04/Jan/18 ]

Thanks for fixing this so quickly. It appears to have worked.

Generated at Thu Feb 08 23:10:11 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.