mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2024-12-23 05:32:20 +01:00
Add notes for 2017-05-17
This commit is contained in:
parent
748b6d8bfa
commit
13d0b48c8b
@ -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
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
|
||||
<meta property="article:published_time" content="2017-05-01T16:21:52+02:00"/>
|
||||
<meta property="article:modified_time" content="2017-05-15T20:04:56+03:00"/>
|
||||
<meta property="article:modified_time" content="2017-05-16T10:21:34+03:00"/>
|
||||
|
||||
|
||||
|
||||
@ -45,9 +45,9 @@
|
||||
"@type": "BlogPosting",
|
||||
"headline": "May, 2017",
|
||||
"url": "https://alanorth.github.io/cgspace-notes/2017-05/",
|
||||
"wordCount": "1308",
|
||||
"wordCount": "1447",
|
||||
"datePublished": "2017-05-01T16:21:52+02:00",
|
||||
"dateModified": "2017-05-15T20:04:56+03:00",
|
||||
"dateModified": "2017-05-16T10:21:34+03:00",
|
||||
"author": {
|
||||
"@type": "Person",
|
||||
"name": "Alan Orth"
|
||||
@ -306,6 +306,41 @@ $ for item in /home/aorth/10947-1/ITEM@10947-*; do [dspace]/bin/dspace packager
|
||||
<li>Make an issue to track the changes to <code>cg.subject.wle</code>: <a href="https://github.com/ilri/DSpace/issues/322">#322</a></li>
|
||||
</ul>
|
||||
|
||||
<h2 id="2017-05-17">2017-05-17</h2>
|
||||
|
||||
<ul>
|
||||
<li>Looking into the error I get when trying to create a new collection on DSpace Test:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>ERROR: duplicate key value violates unique constraint "handle_pkey" Detail: Key (handle_id)=(84834) already exists.
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>I tried updating the sequences a few times, with Tomcat running and stopped, but it hasn’t helped</li>
|
||||
<li>It appears item with <code>handle_id</code> 84834 is one of the imported CGIAR Library items:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>dspace=# select * from handle where handle_id=84834;
|
||||
handle_id | handle | resource_type_id | resource_id
|
||||
-----------+------------+------------------+-------------
|
||||
84834 | 10947/1332 | 2 | 87113
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>Looks like the max <code>handle_id</code> is actually much higher:</li>
|
||||
</ul>
|
||||
|
||||
<pre><code>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)
|
||||
</code></pre>
|
||||
|
||||
<ul>
|
||||
<li>I’ve posted on the dspace-test mailing list to see if I can just manually set the <code>handle_seq</code> to that value</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/2017-05/</loc>
|
||||
<lastmod>2017-05-15T20:04:56+03:00</lastmod>
|
||||
<lastmod>2017-05-16T10:21:34+03:00</lastmod>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
@ -99,7 +99,7 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/</loc>
|
||||
<lastmod>2017-05-15T20:04:56+03:00</lastmod>
|
||||
<lastmod>2017-05-16T10:21:34+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
@ -110,19 +110,19 @@
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/notes/</loc>
|
||||
<lastmod>2017-05-15T20:04:56+03:00</lastmod>
|
||||
<lastmod>2017-05-16T10:21:34+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/post/</loc>
|
||||
<lastmod>2017-05-15T20:04:56+03:00</lastmod>
|
||||
<lastmod>2017-05-16T10:21:34+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
<url>
|
||||
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
|
||||
<lastmod>2017-05-15T20:04:56+03:00</lastmod>
|
||||
<lastmod>2017-05-16T10:21:34+03:00</lastmod>
|
||||
<priority>0</priority>
|
||||
</url>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user