Tags:
create new tag
view all tags

Question

For some reason, following notation


| *AAAAAAAAAAAA* |
| AAAAAAAA.BBBBBBBBBB.FFFFFFF |

gives a table only having FFFFFFF in the cell. Works fine in Twiki Release 04-Sep-2004, but not in Dakar. Didn't find this already answered, thus asking here. Thanks for the help already!

Environment

TWiki version: TWikiRelease04x00x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin, EditTable, XpTrackerPlugin
Server OS: Fedora Core 4 Linux, kernel 2.6.11-1.1369_FC4smp
Web server: Apache/2.0.54
Perl version: v5.8.6
Client OS: Windows 2000
Web Browser: FireFox 1.0.7
Categories: Plugins

-- TWikiGuest - 13 Jun 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

I don't think this is related to tables only:

  • Escaped: AAAAAAAA.BBBBBBBBBB.FFFFFFF
  • Non-escaped: AAAAAAAA.BBBBBBBBBB.FFFFFFF

Looks like a bug in the rendering engine, reported as Bugs:Item2467.

-- SteffenPoulsen - 13 Jun 2006

This is fixed in SVN and will be in 4.0.3.

If you want to, you can fix your 4.0.2 installation with this little patch:

Index: lib/TWiki/Render.pm
===================================================================
--- lib/TWiki/Render.pm (revision 10576)
+++ lib/TWiki/Render.pm (working copy)
@@ -468,8 +468,6 @@
     ASSERT($this->isa( 'TWiki::Render')) if DEBUG;
     # SMELL - shouldn't it be callable by TWiki::Func as well?

-    #PN: Webname.Subweb -> Webname/Subweb
-    $theWeb =~ s/\./\//go;
     #PN: Webname/Subweb/ -> Webname/Subweb
     $theWeb =~ s/\/\Z//o;

@@ -636,10 +634,8 @@
     $text = $this->{session}->{plugins}->renderWikiWordHandler( $text ) || $text;

     # =$doKeepWeb= boolean: true to keep web prefix (for non existing Web.TOPIC)
-    # SMELL: Why set keepWeb when the topic is an abbreviation?
-    # NO IDEA, and it doesn't work anyway; it adds 'TWiki.' in front
-    # of every TWiki.CAPITALISED TWiki.WORD
-    #$keepWeb = ( $topic =~ /^$TWiki::regex{abbrevRegex}$/o );
+    # (Necessary to leave "web part" of ABR.ABR.ABR intact if topic not found)
+    $keepWeb = ( $topic =~ /^$TWiki::regex{abbrevRegex}$/o && $web ne $this->{session}->{webName} );

     # false means suppress link for non-existing pages
     $linkIfAbsent = ( $topic !~ /^$TWiki::regex{abbrevRegex}$/o );

-- SteffenPoulsen - 13 Jun 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-06-13 - SteffenPoulsen
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.