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
$ 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