AuScope / ckan-docker

Scripts and images to run CKAN using Docker Compose
0 stars 2 forks source link

Metadata of PID sample registered #261

Closed kitchenprinzessin3880 closed 1 month ago

kitchenprinzessin3880 commented 1 month ago
  1. the resource type should be PhysicalObject not dataset
  2. the resource type in the sample metadata page (under citation) should be 'PhysicalObject' not 'Physicalobject'
  3. None (The date that the resource is published) This should take the date the doi was registered.
  4. Title was incorrectly formatted - [ShortCollectionName] - [Sample Type] Sample [SampleNumber]

the space is not allowed due to the title being included as part of the URL??

NTaherifar commented 1 month ago

@vjf I've finished sub-tasks 2 and 4 since they're related to the UI.

@kitchenprinzessin3880 For sub-task 4, I updated the title as you suggested, but the name has to follow CKAN rules, so spaces will be replaced with underscores.

vjf commented 1 month ago

@kitchenprinzessin3880 I have fixed #1, but your description of #3 needs more detail

kitchenprinzessin3880 commented 1 month ago

@vjf with regard to issue (3), see the xml snippet below: ref: https://doi.test.datacite.org/dois/10.82670%2Fax2h97mi

<dates>
    <date dateType="Created">2024-07-16 04:01:47.042439</date>
    <date dateType="Updated">2024-07-16 04:01:49.348263</date>
    <date dateType="Issued">None</date>
  </dates>
vjf commented 1 month ago

@kitchenprinzessin3880 Unfortunately the extension writes the metadata before minting. It does not have the issue date when the record is created. But the issue date will be written if the record is subsequently updated. We can talk more later.

vjf commented 1 month ago

@kitchenprinzessin3880 All fixed now. Available once dev is rebuilt.

kitchenprinzessin3880 commented 1 month ago

ALL PASS, see below

<?xml version="1.0" encoding="UTF-8"?>
<resource xmlns="http://datacite.org/schema/kernel-4" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://datacite.org/schema/kernel-4 http://schema.datacite.org/meta/kernel-4.3/metadata.xsd">
  <identifier identifierType="DOI">10.82670/AX2H97MI</identifier>
  <creators>
    <creator>
      <creatorName nameType="Personal">Ravi Anand</creatorName>
      <nameIdentifier nameIdentifierScheme="ORCID">https://orcid.org/0000-0002-3159-0096</nameIdentifier>
      <affiliation affiliationIdentifier="https://ror.org/03qn8fb07" affiliationIdentifierScheme="ROR">Commonwealth Scientific and Industrial Research Organisation</affiliation>
    </creator>
  </creators>
  <titles>
    <title>moolart - Core Sample mw-2</title>
  </titles>
  <publisher>AuScope</publisher>
  <publicationYear>2024</publicationYear>
  <subjects>
    <subject>soil</subject>
  </subjects>
  <contributors>
    <contributor contributorType="ContactPerson">
      <contributorName nameType="Personal">Ravi Anand</contributorName>
      <nameIdentifier nameIdentifierScheme="ORCID">https://orcid.org/0000-0002-3159-0096</nameIdentifier>
      <affiliation affiliationIdentifier="https://ror.org/03qn8fb07" affiliationIdentifierScheme="ROR">Commonwealth Scientific and Industrial Research Organisation</affiliation>
    </contributor>
  </contributors>
  <dates>
    <date dateType="Created">2024-07-16 04:01:47.042439</date>
    <date dateType="Updated">2024-07-29 07:13:45.346970</date>
    <date dateType="Issued">2024-07-16 04:01:52.369098</date>
  </dates>
  <language>en</language>
  <resourceType resourceTypeGeneral="PhysicalObject">PhysicalObject</resourceType>
  <relatedIdentifiers>
    <relatedIdentifier relatedIdentifierType="URL" relationType="IsDerivedFrom">https://doi.org/10.82670/g5550kgy</relatedIdentifier>
  </relatedIdentifiers>
  <sizes>
    <size>0 kb</size>
  </sizes>
  <rightsList>
    <rights/>
  </rightsList>
  <descriptions>
    <description descriptionType="Other">Test sample child of mw-1 new update</description>
  </descriptions>
</resource>