-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
More warnings, fewer mapper failures (#96)
* dry up `DataHandler.prep` method to use `DataPrepper.prep` * Warn instead of failing when... - a Client term search returns more than one record matching the term. - when incorrect delimiting in repeating field subgroups causes overflow (more subgroups than there are parent groups) Also warn when subgroup values are uneven * bump version
- Loading branch information
Showing
8 changed files
with
144 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
module CollectionSpace | ||
module Mapper | ||
VERSION = "2.1.4" | ||
VERSION = "2.1.5" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"objectNumber": "21CS.001.0002", | ||
"measuredPart": "unframed", | ||
"dimensionSummary": "8.5 x 11", | ||
"dimension": "height| width", | ||
"measuredByOrganization": "Admirable Corporation", | ||
"value": "8.5| 11", | ||
"measurementUnit": "inches" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document name="collectionobjects"><ns2:collectionspace_core xmlns:ns2="http://collectionspace.org/collectionspace_core/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><createdAt>2021-02-12T00:31:59.813Z</createdAt><updatedBy>[email protected]</updatedBy><createdBy>[email protected]</createdBy><workflowState>project</workflowState><tenantId>1</tenantId><refName>urn:cspace:core.collectionspace.org:collectionobjects:id(98e3dcf4-2ae5-4c14-8e02)'21CS.001.0002'</refName><uri>/collectionobjects/98e3dcf4-2ae5-4c14-8e02</uri><updatedAt>2021-02-12T00:34:42.786Z</updatedAt></ns2:collectionspace_core><ns2:collectionobjects_common xmlns:ns2="http://collectionspace.org/services/collectionobject" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><fieldCollectionDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></fieldCollectionDateGroup><owners/><fieldCollectionMethods/><contentActivities/><objectProductionDateGroupList><objectProductionDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></objectProductionDateGroup></objectProductionDateGroupList><contentConcepts/><assocEventPlaces/><assocActivityGroupList/><objectProductionReasons/><assocPlaceGroupList/><objectNameList/><styles/><materialGroupList/><assocObjectGroupList/><fieldCollectors/><responsibleDepartments/><textualInscriptionGroupList><textualInscriptionGroup><inscriptionContentScript/><inscriptionContentInscriber/><inscriptionContentTransliteration/><inscriptionContentType/><inscriptionContentDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></inscriptionContentDateGroup><inscriptionContent/><inscriptionContentTranslation/><inscriptionContentInterpretation/><inscriptionContentPosition/><inscriptionContentLanguage/><inscriptionContentMethod/></textualInscriptionGroup></textualInscriptionGroupList><objectNumber>21CS.001.0002</objectNumber><fieldColEventNames/><colors/><contentScripts/><objectProductionPlaceGroupList/><referenceGroupList/><assocDateGroupList><assocDateGroup><assocDateNote/><assocStructuredDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></assocStructuredDateGroup><assocDateType/></assocDateGroup></assocDateGroupList><briefDescriptions/><contentLanguages/><assocPersonGroupList/><titleGroupList/><assocConceptGroupList/><usageGroupList/><assocCulturalContextGroupList/><otherNumberList/><objectProductionPeopleGroupList/><assocPeopleGroupList/><assocEventOrganizations/><contentPeoples/><namedCollections/><measuredPartGroupList><measuredPartGroup><dimensionSummary>8.5 x 11</dimensionSummary><measuredPart>unframed</measuredPart><dimensionSubGroupList><dimensionSubGroup><dimensionNote/><valueQualifier/><valueDate/><measuredBy>urn:cspace:core.collectionspace.org:orgauthorities:name(organization):item:name(AdmirableCorporation1613089843473)'Admirable Corporation'</measuredBy><dimension>height</dimension><value>8.5</value><measurementMethod/><measurementUnit>inches</measurementUnit></dimensionSubGroup></dimensionSubGroupList></measuredPartGroup></measuredPartGroupList><contentObjectGroupList/><ownershipDateGroupList><ownershipDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></ownershipDateGroup></ownershipDateGroupList><technicalAttributeGroupList/><nonTextualInscriptionGroupList><nonTextualInscriptionGroup><inscriptionDescriptionDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></inscriptionDescriptionDateGroup><inscriptionDescription/><inscriptionDescriptionInscriber/><inscriptionDescriptionInterpretation/><inscriptionDescriptionPosition/><inscriptionDescriptionMethod/><inscriptionDescriptionType/></nonTextualInscriptionGroup></nonTextualInscriptionGroupList><assocEventPersons/><objectProductionPersonGroupList/><contentPersons/><fieldCollectionSources/><contentEventNameGroupList/><ownersReferences/><viewersReferences/><objectProductionOrganizationGroupList/><computedCurrentLocation>urn:cspace:indeterminate:locationauthorities:name(indeterminate):item:name(indeterminate)'~Indeterminate Location~'</computedCurrentLocation><publishToList><publishTo/></publishToList><assocOrganizationGroupList/><contentOrganizations/><contentPlaces/><contentOtherGroupList/><contentDateGroup><scalarValuesComputed>false</scalarValuesComputed><dateEarliestSingleCertainty/><dateEarliestSingleQualifierUnit/><dateDisplayDate/><dateLatestScalarValue/><dateEarliestSingleQualifierValue/><datePeriod/><dateLatestEra/><dateEarliestSingleDay/><dateEarliestSingleQualifier/><dateEarliestSingleYear/><dateLatestCertainty/><dateAssociation/><dateLatestDay/><dateEarliestSingleMonth/><dateEarliestSingleEra/><dateLatestYear/><dateLatestQualifierUnit/><dateNote/><dateLatestQualifierValue/><dateLatestQualifier/><dateEarliestScalarValue/><dateLatestMonth/></contentDateGroup><objectStatusList/><objectComponentGroupList/><comments/><assocEventPeoples/><techniqueGroupList/><inventoryStatusList><inventoryStatus/></inventoryStatusList><contentPositions/><forms/></ns2:collectionobjects_common><ns2:account_permission xmlns:ns2="http://collectionspace.org/services/authorization"><account><accountId>d884e854-a10b-49c8-87e7-e7a900ffdc52</accountId><screenName>Administrator</screenName><userId>[email protected]</userId><tenantId>1</tenantId></account></ns2:account_permission></document> |