Closed (fixed)
Project:
Transliteration
Version:
7.x-3.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Dec 2010 at 08:08 UTC
Updated:
14 Dec 2011 at 14:14 UTC
Jump to comment: Most recent file
Comments
Comment #1
smk-ka commentedI see, Drupal 7 really names its hooks accurately... another WTF on a growing list.
Anyway, here's my proposed solution: turn transliteration_process() into a private function, you shouldn't ever need to call it directly, since that's what transliteration_get() is meant for. Also simplified the load condition slightly, no need to statically cache something that's known otherwise.
Comment #2
jurgenhaasLooks good to me.
Comment #3
smk-ka commentedCommitted, thanks!
Comment #5
pfrenssenThis bug has resurfaced in commit baf339232de23d5895dd4a76599a3da45e061036 "Synced HEAD with DRUPAL-6--2".
The function name has been reverted to transliteration_process().
Comment #6
pfrenssenAnother regression occurred in commit b72f33afbaefb18edb6a84b19798b2e9148e9782 "by smk-ka: Added admin UI for settings and retroactive file name transliteration."
The optimalisation concerning the static variable you proposed in comment #1 has been removed in this commit. Possibly there are other regressions introduced by porting features from the D6 version.
Here is a patch that fixes these two regressions in the current 7.x-3.0-alpha1 version.
Comment #7
pfrenssenComment #8
stijndm commentedPatch seems to work fine.
Comment #9
pfrenssenI was mistaken, the latest 7.x-3.x-dev does not have this bug in it.
Comment #11
juampynr commentedWhen will it be in a stable release?