You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create an organisation without linking it to the ROR id
Create or edit a project, navigate to "Organisations"
Under "Add organisation", type the name of the organisation you just added (will list RSD and ROR entries)
Select the ROR entry
Navigate back to Organisations -> The one you created in the first step
open Organisation settings
click the refresh button next to the ROR id field
in the modal, select the corresponding organisation that you added in step 4
Error message will appear: Failed to save. : duplicate key value violates unique constraint "organisation_ror_id_key"
/edit: what is happening is that when referencing the organisation in step 4, it will create a new one. So you cannot link two organisations with the same ROR (which is correct). At this point it would be handy to have delete function as mentioned in #448
The text was updated successfully, but these errors were encountered:
This is in principle expected behaviour. With #537, we also expect that this won't happen much anymore, even more so since the admin interface doesn't allow you to create an organisation without linking it to software or a project first.
It could be a problem when an organisation in the RSD db didn't have a ROR-id for a long time, and later does get one. We should allow for "merging" the two entries in the admin interface, but since this will be such a rare event, this is more for the long term.
Steps to reproduce
Failed to save. : duplicate key value violates unique constraint "organisation_ror_id_key"
/edit: what is happening is that when referencing the organisation in step 4, it will create a new one. So you cannot link two organisations with the same ROR (which is correct). At this point it would be handy to have delete function as mentioned in #448
The text was updated successfully, but these errors were encountered: