Add notes for 2017-05-17

This commit is contained in:
2017-05-18 01:27:13 +03:00
parent 748b6d8bfa
commit 13d0b48c8b
3 changed files with 73 additions and 8 deletions

View File

@ -157,3 +157,33 @@ $ ./fix-metadata-values.py -i /tmp/ccafs-flagships-may7.csv -f cg.subject.ccafs
- Discuss updates to WLE themes for their Phase II
- Make an issue to track the changes to `cg.subject.wle`: [#322](https://github.com/ilri/DSpace/issues/322)
## 2017-05-17
- Looking into the error I get when trying to create a new collection on DSpace Test:
```
ERROR: duplicate key value violates unique constraint "handle_pkey" Detail: Key (handle_id)=(84834) already exists.
```
- I tried updating the sequences a few times, with Tomcat running and stopped, but it hasn't helped
- It appears item with `handle_id` 84834 is one of the imported CGIAR Library items:
```
dspace=# select * from handle where handle_id=84834;
handle_id | handle | resource_type_id | resource_id
-----------+------------+------------------+-------------
84834 | 10947/1332 | 2 | 87113
```
- Looks like the max `handle_id` is actually much higher:
```
dspace=# select * from handle where handle_id=(select max(handle_id) from handle);
handle_id | handle | resource_type_id | resource_id
-----------+----------+------------------+-------------
86873 | 10947/99 | 2 | 89153
(1 row)
```
- I've posted on the dspace-test mailing list to see if I can just manually set the `handle_seq` to that value