silverstripe-importexport icon indicating copy to clipboard operation
silverstripe-importexport copied to clipboard

Import fails when used with Translatable

Open mspacemedia opened this issue 8 years ago • 1 comments

Unable to import data when used with sites running Translatable. The URL gets malformed by one or the other modules ?locale=en_GB ends up before the /RecordID so Translatable is looking for a locale called ?locale=en_GB/6085 for example

admin/pages/edit/EditForm/1481/field/Dealers/importer/preview/6086?Locale=en_GB&BackURL=http%3A%2F%2Fsite.dev%2Fadmin%2Fpages%2Fedit%2Fshow%2F1481%3FLocale%3Den_GB is the inital URL

Import CSV then hits:

admin/pages/edit/EditForm/1481/field/Dealers/importer/import?Locale=en_GB/6086

mspacemedia avatar Jul 25 '17 13:07 mspacemedia

@mspacemedia There's a pull request to fix the issue here: https://github.com/burnbright/silverstripe-importexport/pull/45

silverstripe-elliot avatar Jul 31 '17 02:07 silverstripe-elliot