Details
-
Story
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Done
-
ERM Sprint 145, ERM Sprint 146, ERM Sprint 147, ERM Sprint 148, ERM Sprint 149, ERM Sprint 150
-
Bienenvolk
-
Nolana (R3 2022)
-
TBD
Description
Purpose:
Once a package has been ingested for the first time the package metadata is not then updated by subsequent ingests
User story statement(s):
As a ERM administrator
I want package updates to complete update package metadata
so that the package metadata stored in the local KB is always up to date
Scenarios:
- Scenario:
- Given a GOKb harvest
- When a package in the harvest matches an existing package
- Then the package metadata should be overwritten by the harvested package metadata
- Scenario:
- Given a package upload via JSON
- When the package uploaded matches an existing package
- Then the package metadata should be overwritten by the uploaded package metadata
- Scenario:
- Given a package upload via KBART
- When the package uploaded matches an existing package
- Then the package metadata should be overwritten by the uploaded package metadata (based on the form filled out for KBART package upload)
Additional information
In all of the above scenarios, the packages are matched using a combination of the package reference and package source. The package metadata should be overwritten with the information available at the time of the harvest/import as follows
- source -> by definition stays the same, do not overwrite
- reference -> by definition stays the same, do not overwrite
- sourceDataCreated -> never updated after first creation, do not overwrite
- PackageContentItem -> updated by title/PCI updates separately - do not change how this is done
- sourceDataUpdated -> updated
- lifecycleStatus -> updated
- availabilityScope -> updated
- contentTypes -> remove all existing contentTypes and replace with ones in new package metadata
- alternateResourcenames -> remove all existing alternative names and replace with ones in new package metadata
- vendor -> updated
TestRail: Results
Attachments
Issue Links
- defines
-
ERM-2236 mod-agreements release. Fix version: 5.4.0
-
- Closed
-
-
UXPROD-3754 GOKb Package metadata enhancements in Agreements local KB
-
- Closed
-
- is blocked by
-
ERM-2385 On updating package description URLs KB sync job crashes
-
- Closed
-
- is cloned by
-
ERM-2310 On updating an existing PTI from a trusted source in Agreements local KB, update/overwrite url if it has changed
-
- Closed
-
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...