lib/collectionspace/mapper/term_handler.rb
# records the fact that this is an unknown term in the mapper response
records the fact that this is an unknown term in the mapper response
records the fact that this is an unknown term in the mapper response
def add_known_unknown_term(val, term_report)
        unknown_term_str = cached_unknown(type_subtype, val)
        unknown_term = CollectionSpace::Mapper::UnknownTerm.from_string(unknown_term_str)
        @terms << term_report.merge({found: false, refname: unknown_term})
        add_missing_record_error('term', val)
        unknown_term_str
      end
def add_known_unknown_term ( val , term_report ) unknown_term_str = cached_unknown ( type_subtype , val ) unknown_term = CollectionSpace :: Mapper :: UnknownTerm . from_string ( unknown_term_str ) @terms << term_report . merge ( { found : false , refname : unknown_term } ) add_missing_record_error ( 'term' , val ) unknown_term_str end
records the fact that this is an unknown term in the mapper response
records the fact that this is an unknown term in the mapper response
val
term_report