Add notes for 2019-10-29

This commit is contained in:
Alan Orth 2019-10-29 16:23:43 +02:00
parent 4b8a05d47b
commit 9a75c9b2f0
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
5 changed files with 36 additions and 36 deletions

View File

@ -235,4 +235,10 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
- I will revert all changes to `dc.title` and `dc.title.alternative`
- TODO: there are similar issues with the `citation_author` metadata element missing from DRI, so I might have to revert those changes too
## 2019-10-29
- After more digging in the source I found out why the `dcterms.title` and `dcterms.creator` fields are not present in the DRI `pageMeta`...
- The `pageMeta` element is constructed in `dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/IncludePageMeta.java` and the code does not consider any other schemas besides DC
- I moved title and creator back to the original DC fields and then everything was working as expected in the pageMeta, so I guess we cannot use these in DCTERMS either!
<!-- vim: set sw=2 ts=2: -->

View File

@ -20,10 +20,8 @@ With reference to [CG Core v2 draft standard](https://agriculturalsemantics.gith
- [Implementation Progress](#implementation-progress)
## Proposed Changes
As of 2019-09-11 the scope of the changes includes the following fields:
As of 2019-10-29 the scope of the changes includes the following fields:
- dc.contributor.author→dcterms.creator
- for people and institutional authors
- cg.creator.id→cg.creator.identifier
- ORCID identifiers
- dc.format.extent→dcterms.extent
@ -56,12 +54,13 @@ As of 2019-09-11 the scope of the changes includes the following fields:
The following fields are currently out of the scope of this migration because they are used internally by DSpace 5.x/6.x and would be difficult to change without significant modifications to the core of the code:
- dc.title
- dc.title (`IncludePageMeta.java` only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)
- dc.title.alternative
- dc.date.available
- dc.date.accessioned
- dc.identifier.uri
- dc.identifier.uri (hard coded for Handle assignment upon item submission)
- dc.description.provenance
- dc.contributor.author (`IncludePageMeta.java` only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)
## Fields to Create
Make sure the following fields exist:
@ -89,7 +88,6 @@ Tally of the status of the implementation of the new fields in the CGSpace `5_x-
| Field Name | migrate-fields.sh | Input Forms | XMLUI Themes¹ | dspace.cfg | Discovery | Atmire Modules | Crosswalks |
| ---------- | :---------------: | :---------: | :-----------: | :--------: | :-------: | :------------: | :--------: |
dcterms.creator | ✓ | ✓ | ? | ✓ | ✓ | ✓ | |
cg.creator.identifier | ✓ | ✓ | ✓ | - | ✓ | ✓ | |
dcterms.extent | ✓ | ✓ | - | - | - | - | |
dcterms.issued | ✓ | ✓ | ? | ✓ | ✓ | ✓ | |

View File

@ -27,7 +27,7 @@
"@type": "BlogPosting",
"headline": "October, 2019",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/2019-10\/",
"wordCount": "1719",
"wordCount": "1791",
"datePublished": "2019-10-01T13:20:51+03:00",
"dateModified": "2019-10-28T16:52:51+02:00",
"author": {
@ -410,6 +410,17 @@ $ dspace import -a -c 10568/104057 -e fuu@cgiar.org -m 2019-10-15-Bioversity.map
</ul></li>
</ul>
<h2 id="2019-10-29">2019-10-29</h2>
<ul>
<li>After more digging in the source I found out why the <code>dcterms.title</code> and <code>dcterms.creator</code> fields are not present in the DRI <code>pageMeta</code>&hellip;
<ul>
<li>The <code>pageMeta</code> element is constructed in <code>dspace-xmlui/src/main/java/org/dspace/app/xmlui/wing/IncludePageMeta.java</code> and the code does not consider any other schemas besides DC</li>
<li>I moved title and creator back to the original DC fields and then everything was working as expected in the pageMeta, so I guess we cannot use these in DCTERMS either!</li>
</ul></li>
</ul>
<!-- vim: set sw=2 ts=2: -->

View File

@ -10,7 +10,7 @@
<meta property="og:type" content="article" />
<meta property="og:url" content="https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/" />
<meta property="article:published_time" content="2019-10-28T13:27:35+02:00" />
<meta property="article:modified_time" content="2019-10-28T16:54:05+02:00" />
<meta property="article:modified_time" content="2019-10-28T16:55:37+02:00" />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="CGSpace CG Core v2 Migration"/>
@ -25,9 +25,9 @@
"@type": "BlogPosting",
"headline": "CGSpace CG Core v2 Migration",
"url": "https:\/\/alanorth.github.io\/cgspace-notes\/cgspace-cgcorev2-migration\/",
"wordCount": "522",
"wordCount": "554",
"datePublished": "2019-10-28T13:27:35+02:00",
"dateModified": "2019-10-28T16:54:05+02:00",
"dateModified": "2019-10-28T16:55:37+02:00",
"author": {
"@type": "Person",
"name": "Alan Orth"
@ -112,14 +112,9 @@
<h2 id="proposed-changes">Proposed Changes</h2>
<p>As of 2019-09-11 the scope of the changes includes the following fields:</p>
<p>As of 2019-10-29 the scope of the changes includes the following fields:</p>
<ul>
<li>dc.contributor.author→dcterms.creator
<ul>
<li>for people and institutional authors</li>
</ul></li>
<li>cg.creator.id→cg.creator.identifier
<ul>
@ -172,12 +167,13 @@
<p>The following fields are currently out of the scope of this migration because they are used internally by DSpace 5.x/6.x and would be difficult to change without significant modifications to the core of the code:</p>
<ul>
<li>dc.title</li>
<li>dc.title (<code>IncludePageMeta.java</code> only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)</li>
<li>dc.title.alternative</li>
<li>dc.date.available</li>
<li>dc.date.accessioned</li>
<li>dc.identifier.uri</li>
<li>dc.identifier.uri (hard coded for Handle assignment upon item submission)</li>
<li>dc.description.provenance</li>
<li>dc.contributor.author (<code>IncludePageMeta.java</code> only considers DC when building pageMeta, which we rely on in XMLUI because of XSLT from DRI)</li>
</ul>
<h2 id="fields-to-create">Fields to Create</h2>
@ -226,17 +222,6 @@
</thead>
<tbody>
<tr>
<td>dcterms.creator</td>
<td align="center"></td>
<td align="center"></td>
<td align="center">?</td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
<td align="center"></td>
</tr>
<tr>
<td>cg.creator.identifier</td>
<td align="center"></td>

View File

@ -4,37 +4,37 @@
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/cgspace-cgcorev2-migration/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/migration/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/categories/notes/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/posts/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>
<loc>https://alanorth.github.io/cgspace-notes/tags/</loc>
<lastmod>2019-10-28T16:54:05+02:00</lastmod>
<lastmod>2019-10-28T16:55:37+02:00</lastmod>
</url>
<url>