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

Item6849: Search summary broken if TWiki variable spans more than one line

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Closed   patch 5.1.2

Edit Form Data

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

Detail

Test case:

You are not authenticated.

Above IF spans 4 lines. Here is a SEARCH that shows the summary of this topic:

   * Summary in single quotes: 'Test case: Above IF spans 4 lines. Here is a SEARCH that shows the summary of this topic: Special characters do not get filtered out, resulting in broken RSS feeds...'

Special characters do not get filtered out, resulting in broken RSS feeds and broken recent changes with link title based on summary such as WebChangesRightBox

Current output:

  • Summary in single quotes: 'Test case: %IF{ "$ LOGIN ! '' AND NOT context authenticated" then 'You are not authenticated.' else 'You are .' }% Above IF spans 4 lines. Here is a SEARCH that ...'

Expected output:

  • Summary in single quotes: 'Test case: Above IF spans 4 lines. Here is a SEARCH that shows the summary of this topic: Special characters do not ...'

-- TWiki:Main/PeterThoeny - 2012-02-16

Fixed:

  • $summary() with variables spanning multiple lines
  • $summary() with nested variables spanning multiple lines
  • $summary(showvarnames) with variables spanning multiple lines
  • $summary(showvarnames) with nested variables spanning multiple lines
  • quotes (" and ') are now converted to backquotes (`) so that they do not interfere if summery is used in html tag attributes

-- TWiki:Main.PeterThoeny - 2012-03-18

ItemTemplate
Summary Search summary broken if TWiki variable spans more than one line
ReportedBy TWiki:Main.PeterThoeny
Codebase ~twiki4, 5.1.1
SVN Range TWiki-5.1.0, Thu, 26 Jan 2012, build 22596
AppliesTo Engine
Component

Priority Normal
CurrentState Closed
WaitingFor

Checkins TWikirev:22725 TWikirev:22726 TWikirev:22727 TWikirev:22728 TWikirev:22729 TWikirev:22730
TargetRelease patch
ReleasedIn 5.1.2
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r10 - 2012-10-07 - PeterThoeny
 
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