• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.
actually, DBCachePlugin probably does work correctly; it's the core that doesn't. the core strips characters that aren't [A-Za-z0-9_] which means fields Dón and Dán can't be disambiguated from either other. (i filed a separate bug for the core at Item2168)

in the meantime, here is a hack that makes it work. it is definitely a hack, but now it matches the hack in Form.pm. this will break when the core is fixed, but i think that's a good thing smile

$ diff -u lib/TWiki/Plugins/DBCachePlugin/WebDB.pm ~/public_html/cgi-bin/twiki/lib/TWiki/Plugins/DBCachePlugin/WebDB.pm
--- lib/TWiki/Plugins/DBCachePlugin/WebDB.pm    2006-04-26 21:48:00.000000000 -0700
+++ /home/wbniv/public_html/cgi-bin/twiki/lib/TWiki/Plugins/DBCachePlugin/WebDB.pm      2006-04-26 23:23:18.461456280 -0700
@@ -136,6 +136,7 @@
 ###############################################################################
 sub getFormField {
   my ($this, $theTopic, $theFormField) = @_;
+  $theFormField = TWiki::Form::_cleanField( $theFormField );

   my $topicObj = $this->fastget($theTopic);
   return '' unless $topicObj;

WN

This topic was lost from the lists due to not having a codebase field. Rediscovered 3/2/07. Just set it to "No Action" if it is dead.

CC

ItemTemplate
Summary UTF-8: DBCachePlugin doesn't work with field names with accented characters
ReportedBy TWiki:Main.WillNorris
Codebase

SVN Range Wed, 26 Apr 2006 build 9917
AppliesTo Extension
Component DBCachePlugin
Priority Normal
CurrentState No Action Required
WaitingFor TWiki:Main.MichaelDaum
Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2007-04-11 - MichaelDaum
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback