archesproject/arches

Bulk Data Manager - Replace Text function not recognizing special characters in strings

Opened this issue · 1 comments

When using the Replace Text function in the Bulk Data Manager the preview mode may be stripping special characters out of strings.

When replacing all the text "Landscape - " with "Landscape # " the preview gives "Nothing to update. Your data already meets your requirements." Same with "Land & Scape".

It looks like any space that is not between two letters/numbers is being treated like a special character and potentially being stripped out via the Elasticsearch powered preview.

Because we use search to find resources to preview the data, special characters are stripped out by ES when it tokenizes the search string and values.