samvera-deprecated / sufia

[DEPRECATED] Sufia: a fully featured, flexible Samvera repository front-end.
http://sufia.io/
Other
111 stars 78 forks source link

Sufia 7.2 migration Special Characters in Title can cause migration issues #3176

Open carolyncole opened 7 years ago

carolyncole commented 7 years ago

Descriptive summary

If the title has special characters the temporary file creation can fail. This will cause the entire record to not be migrated.

Expected behavior

The file creation can fail if the title has special characters

Actual behavior

Substitute a benign character for the special character and allow the file to process normally.

Steps to reproduce the behavior

  1. Do this
  2. Then do this...

Related work

We fixed this in ScholarSphere: https://github.com/psu-stewardship/scholarsphere/commit/76027a3