Closed (fixed)
Project:
Scald: Media Management made easy
Version:
7.x-1.x-dev
Component:
Scald core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2013 at 09:28 UTC
Updated:
27 Sep 2013 at 22:11 UTC
Jump to comment: Most recent file
Comments
Comment #1
dDoak commentedsee attached patch
Comment #2
jcisio commentedComment #3
jcisio commentedAlso I think we might want to add some tests here.
Comment #5
jcisio commentedFailed because patch was created with svn (and against an old version). Reformat patch #1 for git. I'm trying with a test, too.
Comment #6
jcisio commentedThe first patch is test only. It should fail. The second is test + fix, it should (hopefully) pass.
Comment #7
jcisio commentedAlso I think while it is simpler to add langcode into cache key, it makes more sense to use non translated text in the info hook. The drawback is we don't have those strings available at localize.drupal.org. But let's see if tests pass.
Comment #9
jcisio commentedFailed because of trailing new line, I think. It failed locally too, because not every place are replaced with t(). However I figured that the bug is bigger as it affects also context name/description, player name/description etc. So the easiest way is to add langcode into cache key. Committed 5553834 and pushed. Tests pass on local.
Thanks for reporting.
Comment #10
jcisio commentedI should have done a full test before committing it. Two tests in ScaldBaseTest that I didn't run failed. Fixed with 2841703 now.