Commit 3607f56
committed
Fixing dataset PI insertion with name changes.
When an individual changes their name, but has associated publications that use their prior name, Tilia attempts to post the same name twice, and associate the prior alias. This violates the constraint that the dataset PI rows must be unique. This change allows a conflict to fail.1 parent 630488d commit 3607f56
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
0 commit comments