Skip to content

Releases: collectionspace/collectionspace-mapper

Implement "the bomb"

17 May 22:24
aaa4044
Compare
Choose a tag to compare

If a field has a blank value, no node for that field exists in the XML document
returned by collectionspace-mapper. When this XML is uploaded to
update an existing record, only nodes present in the XML affect the
existin record. That is: uploading a CSV without a value for a given
field will NOT cause that field to be blank in existing CSpace
records.

If a field consists of the bomb emoji (https://emojipedia.org/bomb/)
then a blank-value node for that field will be in the XML document
produced by collectionspace-mapper. When this XML is sent to
CSpace to update a record, any existing value(s) in that field will be
replaced with a blank. That is: using the bomb will destroy any
existing content in a field.

Bugfix for mapping many records with same DataHandler

22 Apr 20:40
3f6d7dd
Compare
Choose a tag to compare

[2.2.5] - 2021-04-22

Added

  • CHANGELOG.md

Changed

  • BUGFIX: Fixes an issue where, when many records are mapped using the same DataHandler, some XML records were missing expected elements.

Deleted

  • Tests for UCB-specific mapping. These tests had served their purpose, were no longer needed, and were not worth fixing when they started to fail because the dev instance on UCB's end changed or went away.

Details: v2.2.3...v2.2.5

[2.2.4 (Unreleased)] - 2021-03-25

  • Updated values in fixtures causing test failures due to records being deleted from CollectionSpace dev instance

Bugfix to stop returning spurious subgroup overflow warnings

10 Mar 01:10
0df8b85
Compare
Choose a tag to compare

Bugfix for errors/warnings in special rectypes

02 Mar 23:53
a9323e5
Compare
Choose a tag to compare

Merge default data in before any validation or processing

02 Mar 23:25
20f0ed7
Compare
Choose a tag to compare

For special recordtypes, required fields are provided in defaults hardcoded in the DataHandler. Calling handler.validate on the raw data resulted in errors about missing required fields. Merging any default data in as soon as the data is first prepped into a Response ensures this doesn't happen any more.

See #98

Add mapping for relationships

02 Mar 18:09
e324303
Compare
Choose a tag to compare

Adds mapping capability for three relationship types:

  • objecthierarchy
  • authorityhierarchy
  • nonhierarchicalrelationship

More warnings, fewer failures

12 Feb 00:57
fb841a7
Compare
Choose a tag to compare

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

Bugfix for refName wellformedness check

04 Feb 21:23
7a91431
Compare
Choose a tag to compare

Skips wellformedness check if refname value = %NULLVALUE%

Yet another bug fix for non-cached term search

02 Feb 00:49
a2a83f6
Compare
Choose a tag to compare
Merge pull request #93 from collectionspace/client-search-fix

use client search directly when term is not cached

Bugfix for TermHandler

01 Feb 17:48
b9308aa
Compare
Choose a tag to compare
Merge pull request #92 from collectionspace/term-handler-search

Term handler search fix