You are here: Foswiki>Tasks Web>Item14217 (08 Dec 2016, GeorgeClark)Edit Attach

Item14217: Issue when Topic Display Title value includes single quote

pencil
Priority: Normal
Current State: Confirmed
Released In: 2.2.0
Target Release: minor
Applies To: Engine
Component: FoswikiMeta
Branches:
Reported By: VickiBrown
Waiting For:
Last Change By: GeorgeClark
Note -This feature was accepted in June 2014. However, it apparently has not yet been implemented in the FW Core.

The bug, therefore, appears to be mine. I'll leave this task in place as a test case for when Tasks/Item12830 is implemented so we can be sure the core feature doesn't have it.

However, I don't understand the bug, so I've filed a Support request here in case someone else sees what I'm obviously missing: Support/Question1831






I have a Library app. Each page uses the LibTitle value from its attached form to set to TOPICTITLE variable.

  * Set TOPICTITLE = %FORMFIELD{"LibTitle" topic="%INCLUDINGTOPIC%"}%

For one entry, the LibTitle value contained a single quote. The TOPICTITLE broke at the quote mark and the page could not be displayed.

Test Case: http://wiki.baapt.org/bin/view/Tasks/Testcases/Item14217TestCase

(Test case duplicated here at foswiki.org (/Tasks/Testcases/Item14217TestCase); however, it won't work until TOPICTITLE is implemented here.)

-- VickiBrown - 15 Nov 2016

  • Screen shot of page in view mode:
    Screen Shot 2016-11-15 at 11.56.10.png

  • Screen shot of "View Source":
    Screen Shot 2016-11-15 at 11.56.29.png

Setting to confirmed for 2.2.0 against FoswikiMeta for now, so we don't lose track of it.

-- GeorgeClark - 02 Dec 2016
 

ItemTemplate edit

Summary Issue when Topic Display Title value includes single quote
ReportedBy VickiBrown
Codebase
SVN Range
AppliesTo Engine
Component FoswikiMeta
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins
TargetRelease minor
ReleasedIn 2.2.0
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r3 - 08 Dec 2016, GeorgeClark
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy