archivematica / Issues

Issues repository for the Archivematica project
GNU Affero General Public License v3.0
16 stars 1 forks source link

Problem: Should 'creation' event be replaced with 'information package creation' event in package replication? #748

Open ross-spencer opened 5 years ago

ross-spencer commented 5 years ago

Please describe the problem you'd like to be solved.

A small detail noticed during code-review and testing. This creation event is created on package replication. Should it be replaced with information package creation as noted by the original dev in-line?

User's can observe this eventType by:

  1. setting up replication for a storage location.
  2. creating an AIP and storing it in that location.
  3. downloading the replicated package's pointer file.

NB. really just logging this as part of an investigation to understand whether the code-path was used at all and how to generate the event. Turns out it is, but the question seems worth asking.

Additional context

Example output:

    <mets:digiprovMD ID="digiprovMD_7" CREATED="2019-06-17T07:30:53">
      <mets:mdWrap MDTYPE="PREMIS:EVENT">
        <mets:xmlData>
          <premis:event xmlns:premis="http://www.loc.gov/premis/v3" xsi:schemaLocation="http://www.loc.gov/premis/v3 http://www.loc.gov/standards/premis/v3/premis.xsd" version="3.0">
            <premis:eventIdentifier>
              <premis:eventIdentifierType>UUID</premis:eventIdentifierType>
              <premis:eventIdentifierValue>9bf4fd3e-19a2-4c1f-b6ba-60c56465c670</premis:eventIdentifierValue>
            </premis:eventIdentifier>
            <premis:eventType>creation</premis:eventType>
            <premis:eventDateTime>2019-06-17T07:30:52</premis:eventDateTime>
            <premis:eventDetailInformation>
              <premis:eventDetail>Creation of an Archival Information Package</premis:eventDetail>
            </premis:eventDetailInformation>
            <premis:eventOutcomeInformation>
              <premis:eventOutcome>success</premis:eventOutcome>
              <premis:eventOutcomeDetail>
                <premis:eventOutcomeDetailNote>Created Archival Information Package (AIP) cc3af59b-af2d-4059-996e-05a8630043f1 by replicating previously created AIP 96968668-eebf-4643-a797-46126e3a9970</premis:eventOutcomeDetailNote>
              </premis:eventOutcomeDetail>
            </premis:eventOutcomeInformation>
            <premis:linkingAgentIdentifier>
              <premis:linkingAgentIdentifierType>preservation system</premis:linkingAgentIdentifierType>
              <premis:linkingAgentIdentifierValue>Archivematica-Storage-Service-0.15.0</premis:linkingAgentIdentifierValue>
            </premis:linkingAgentIdentifier>
          </premis:event>
        </mets:xmlData>
      </mets:mdWrap>
    </mets:digiprovMD>

For Artefactual use: Please make sure these steps are taken before moving this issue from Review to Verified in Waffle:

ross-spencer commented 5 years ago

Marked as related to https://github.com/archivematica/Issues/issues/645 to be included in that discussion.