Problem/Motivation
After applying the patch on https://www.drupal.org/node/2932615 or using the dev version of the redirect module,
when the import file has a trailing slash on the from the redirectExists the hash returns
that it doesn't exist because the '/' is not on the database.
Steps to reproduce
Use the dev version of the redirect module or the patch merged on https://www.drupal.org/node/2932615
The file to import should have a trailing redirect on some of the from items
It will error out because a "Duplicate entry "
Proposed resolution
Similar to what was done on https://www.drupal.org/node/2932615 add a clean up for the trailing slash
Remaining tasks
User interface changes
None
API changes
None
Data model changes
Issue fork path_redirect_import-3249757
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #5
paulocsThanks!