• 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.

Item7724: Auto-sections code cuts heading at double-exclamation point

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension AutoSectionsPlugin Normal Closed      

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

As you can see at http://twiki.org/cgi-bin/view/Plugins/SpreadSheetPlugin#FuncTODAY, the plugin cuts the header at the !! point and shows only the text after the double-exclamation point.

Heading text shown:
from one set of characters to another

Should show text:
TRANSLATE( text, from, to ) -- translate text from one set of characters to another

Source text:
---+++ TRANSLATE( text, from, to ) -- translate text!! from one set of characters to another

Also, this heading is not shown at all in the TOC; it should show:
TRANSLATE( text, from, to ) -- translate text

Once I disable the AutoSectionsPlugin, the header and TOC work as expected.

Test Case TOC:

Test Case Headers:

TODAY( ) -- serialized date of today at midnight GMT

foo

TRANSLATE( text, from, to ) -- translate text from one set of characters to another

bar

TRIM( text ) -- trim spaces from text

moo

-- TWiki:Main/PeterThoeny - 2016-02-15

This test case does not show the issue because the AutoSectionsPlugin is not installed and enabled by default.

-- TWiki:Main.PeterThoeny - 2016-02-15

I cannot reproduce the symptom in my environment. This might be already fixed -- the plugin installed there is not the latest because TWiki:Plugins/AutoSectionsPlugin was not latest until I uploaded the latest a few min ago.

-- TWiki:Main.HideyoImazu - 2016-02-15

twiki.org has the latest version of AutoSectionsPlugin, it seems. Still it's showing the symptom mentioned above. Meanwhile, on my TWiki installation, I cannot reproduce the symptom both with our custom skin and the pattern skin.

double-bang-in-heading.png

double-bang-not-affecting-toc.png

-- TWiki:Main.HideyoImazu - 2016-07-28

I have fixed this bug and committed to svn (30221). It was due to the Auto-Sections detecting NOTOC part incorrectly. The symptom occurs only when Auto-Sections "edit" links are actually inserted.

-- TWiki:Main.MahiroAndo - 2016-07-29

ItemTemplate
Summary Auto-sections code cuts heading at double-exclamation point
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 6.0.2
SVN Range TWiki-6.0.2-trunk, Wed, 03 Feb 2016, build 29950
AppliesTo Extension
Component AutoSectionsPlugin
Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:30221
TargetRelease

ReleasedIn

Topic attachments
I Attachment History Action Size Date Who Comment
PNGpng double-bang-in-heading.png r1 manage 221.0 K 2016-07-28 - 08:06 HideyoImazu  
PNGpng double-bang-not-affecting-toc.png r1 manage 295.0 K 2016-07-28 - 08:06 HideyoImazu  
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2016-07-29 - MahiroAndo
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback