I am using the Amazon S3 Module to set AmazonS3 as my default file system. When I use the transliteration module and attempt to transliterate old file names I get this message.

0 file names have been successfully transliterated.

I'm assuming it is because this module doesn't support stream wrappers or i'm doing something wrong. Help?

CommentFileSizeAuthor
#4 error.png67.45 KBinfines
#3 1402196.patch1.03 KBamateescu

Comments

infines’s picture

it seems to only affect previously uploaded files. Newly uploaded files still transliterate.

infines’s picture

Category: feature » bug
amateescu’s picture

Title: Stream Wrapper Support. » Support all writeable stream wrappers
Version: 7.x-3.0 » 7.x-3.x-dev
Priority: Critical » Normal
Status: Active » Needs review
StatusFileSize
new1.03 KB

The problem was that we only supported local stream wrappers (i.e DrupalLocalStreamWrapper). Can you try this patch?

infines’s picture

StatusFileSize
new67.45 KB

I got the attached error.

Just to note, it has been working with newly uploaded files, but the issue I was having was with old uploaded files.

amateescu’s picture

Yep, my patch only touches the form submit for old files :) Can you try to debug a bit with the patch applied and see where it fails?

dave reid’s picture

amateescu asked me to verify on IRC the stream wrapper part of this change and I've confirmed that it matches the expectation and result.

amateescu’s picture

Status: Needs review » Fixed

Thanks again Dave for testing. Committed the patch from #3 to 7.x-3.x.

I'm closing this issue for now until more debug info can be shared.

http://drupalcode.org/project/transliteration.git/commit/4098ebb

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.