zenodo / zenodo-rdm

Zenodo, powered by InvenioRDM
https://zenodo.org
GNU General Public License v2.0
41 stars 25 forks source link

support: fix user creation set unique login #793

Closed ptamarit closed 5 months ago

ptamarit commented 5 months ago

Fixes: https://github.com/zenodo/ops/issues/389

Creating users in Zammad fails with the error "This object already exists.". There's a unique constraint on the login column, and we do not set the login when creating users. This pull requests sets the login to the same value as the email, as is the case of the already created users.

ptamarit commented 5 months ago

Turns out the problem was a problem with desynchronized sequences, and not with missing login.