Skip to content

Unknown item1_type, item2_type values -- return better error #196

@kspurgin

Description

@kspurgin

Record type: nonhierarchicalrelationship

Sample data:

| item1_id      | item1_type        | item2_id              | item2_type |
|---------------+-------------------+-----------------------+------------|
| A 5415/000061 | collecitonobjects | LOC2020.8874_20251112 | movements  |

Current error returned:

Mapper did not return result for unexpected reason. Please send a copy of this report to the Lyrasis help desk (hosted users) or your recommended support channel. Please do NOT delete the batch where you got this error. We will use the following info to diagnose and fix the problem, but you may ignore it: undefined method dig' for nil:NilClass -- /usr/local/bundle/bundler/gems/collectionspace-mapper-7f23789f7a5c/lib/collectionspace/mapper/searcher.rb:62:in response_item_count'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions