The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
Fixes #512 in which the dashes in the directory name are escaped twice
What does this Pull Request do?
The removed preg_quote line escapes the dashes between dates in the directory name, but elsewhere the string is escaped a second time, resulting in two backslashes which causes MIK to fail.
What's new?
Removing this line allows MIK to run properly.
How should this be tested?
Set up a Newspaper CSV run using the files that are attached to the linked issue. Run MIK on the .ini file and view the errors. Run this branch and see success.
Fixes #512 in which the dashes in the directory name are escaped twice
What does this Pull Request do?
The removed
preg_quote
line escapes the dashes between dates in the directory name, but elsewhere the string is escaped a second time, resulting in two backslashes which causes MIK to fail.What's new?
Removing this line allows MIK to run properly.
How should this be tested?
Set up a Newspaper CSV run using the files that are attached to the linked issue. Run MIK on the
.ini
file and view the errors. Run this branch and see success.Interested parties
@mjordan @MarcusBarnes