Can not create more than 2 users
zipus opened this issue · comments
I'm new to FrePPLe, just messing with a integration for Tryton ERP.
I just found without being able to create more than 2 users.
With the default user (id 1) form the UI, on creating new user object creates the user id=0, and after that any new intent to create a new user object it updates user 0 with the new info. Making impossible to create more than 2 users.
FTR the workaround I used is to upload an Excel with the data.
Now that I populated more users through Excel it allows me to add more users trough the UI with no problem.
Can't reproduce.
The user id is generated from a postgres sequence that starts at 1 and then autoincrements. I don't see where a user_id of 0 could be generated...
Can not reproduce again too, but for the record.
I did not touch the rest user api or the database, my setup is the recommended docker-container
And here is the user 0: