diff --git a/content/posts/2023-12.md b/content/posts/2023-12.md index 6ac29778e..95041eaae 100644 --- a/content/posts/2023-12.md +++ b/content/posts/2023-12.md @@ -158,4 +158,31 @@ COPY 102435 - Work a bit on the IFPRI-ISNAR archive from Leigh - More work on the DSpace 7 home page +## 2023-12-19 + +- More work on the DSpace 7 home page +- The Alliance TIP team is testing deposits to the DSpace 7 REST API and getting an HTTP 500 error + - In the DSpace logs I see this after they log in, create the item, and update the metadata: + +``` +2023-12-19 17:49:28,022 ERROR unknown unknown org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement. +``` + +- I found some messages on the dspace-tech mailing list suggesting this might be an old bug: https://groups.google.com/g/dspace-tech/c/My1GUFYFGoU/m/tS7-WAJPAwAJ + - I restarted Tomcat and told the Alliance TIP team to try again + +## 2023-12-20 + +- The Alliance guys said that submitting via REST works now... sigh, so that's just some old DSpace 5/6 REST API bug +- I lowercased all our AGROVOC keywords in `dcterms.subject` in SQL: + +```console +dspace=# BEGIN; +BEGIN +dspace=*# UPDATE metadatavalue SET text_value=LOWER(text_value) WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id=187 AND text_value ~ '[[:upper:]]'; +UPDATE 462 +dspace=*# COMMIT; +COMMIT +``` + diff --git a/docs/2023-12/index.html b/docs/2023-12/index.html index a86090e6f..f90401781 100644 --- a/docs/2023-12/index.html +++ b/docs/2023-12/index.html @@ -11,7 +11,7 @@ - + @@ -28,9 +28,9 @@ "@type": "BlogPosting", "headline": "December, 2023", "url": "https://alanorth.github.io/cgspace-notes/2023-12/", - "wordCount": "832", + "wordCount": "980", "datePublished": "2023-12-01T08:48:36+03:00", - "dateModified": "2023-12-12T14:57:07+03:00", + "dateModified": "2023-12-18T23:15:27+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -268,7 +268,35 @@
  • Work a bit on the IFPRI-ISNAR archive from Leigh
  • More work on the DSpace 7 home page
  • - +

    2023-12-19

    + +
    2023-12-19 17:49:28,022 ERROR unknown unknown org.dspace.rest.Resource @ Something get wrong. Aborting context in finally statement.
    +
    +

    2023-12-20

    + +
    dspace=# BEGIN;
    +BEGIN
    +dspace=*# UPDATE metadatavalue SET text_value=LOWER(text_value) WHERE dspace_object_id IN (SELECT uuid FROM item) AND metadata_field_id=187 AND text_value ~ '[[:upper:]]';
    +UPDATE 462
    +dspace=*# COMMIT;
    +COMMIT
    +
    diff --git a/docs/categories/index.html b/docs/categories/index.html index abbe548c5..7db659911 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index 0522de229..7bdd259c4 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 8a294cbc1..1b36acb66 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index eef17dcca..3541f21ec 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index b0fc674ea..5d44c86d3 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 88e25b05c..2c7184e9c 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index a4581fef8..188e16b92 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/7/index.html b/docs/categories/notes/page/7/index.html index a821d8211..e74718a71 100644 --- a/docs/categories/notes/page/7/index.html +++ b/docs/categories/notes/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/8/index.html b/docs/categories/notes/page/8/index.html index 8ab2d68b8..58076d593 100644 --- a/docs/categories/notes/page/8/index.html +++ b/docs/categories/notes/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index ff5f59ee6..d40e01952 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/10/index.html b/docs/page/10/index.html index 9f3271b37..83382359b 100644 --- a/docs/page/10/index.html +++ b/docs/page/10/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/11/index.html b/docs/page/11/index.html index 0e6bef7af..a9e57abfa 100644 --- a/docs/page/11/index.html +++ b/docs/page/11/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index ba3324028..e0248018c 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index 4d6ab5e83..83a0e271f 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index dcecfe826..542f001aa 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 63188eb7c..fd11ebece 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index b2ddddeb2..75841dc10 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index f13baf4ac..cf4874733 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index fa48d9884..34411cc60 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/9/index.html b/docs/page/9/index.html index f1826f33b..4374f305b 100644 --- a/docs/page/9/index.html +++ b/docs/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index f7118bbb3..42798e4f8 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/10/index.html b/docs/posts/page/10/index.html index c7f8349fc..7ba24efb6 100644 --- a/docs/posts/page/10/index.html +++ b/docs/posts/page/10/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/11/index.html b/docs/posts/page/11/index.html index f337e74a1..27122b7c9 100644 --- a/docs/posts/page/11/index.html +++ b/docs/posts/page/11/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index 8acd086e1..bd2a6890e 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 513ede061..e89d5427f 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index f813fc90f..d9013d51c 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index bca4fb4c9..16a03e150 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index a9ce3e354..84d8872f8 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 5c1e74833..fe87d6968 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index bcd7b96b1..8ff79940b 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/9/index.html b/docs/posts/page/9/index.html index 24de15fde..b7bceefeb 100644 --- a/docs/posts/page/9/index.html +++ b/docs/posts/page/9/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index f5faede91..1e4c87094 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2023-12-12T14:57:07+03:00 + 2023-12-18T23:15:27+03:00 https://alanorth.github.io/cgspace-notes/ - 2023-12-12T14:57:07+03:00 + 2023-12-18T23:15:27+03:00 https://alanorth.github.io/cgspace-notes/2023-12/ - 2023-12-12T14:57:07+03:00 + 2023-12-18T23:15:27+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2023-12-12T14:57:07+03:00 + 2023-12-18T23:15:27+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2023-12-12T14:57:07+03:00 + 2023-12-18T23:15:27+03:00 https://alanorth.github.io/cgspace-notes/2023-11/ 2023-12-06T20:57:07+03:00