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

Item3750: oopsmoresetparent bug

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine PatternSkin Normal No Action Required   n/a  

Edit Form Data

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

Detail

twiki/templates/oopsmoresetparent.pattern.tmpl

line 5:

%IF{'NONE%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%=NONE' then='(none)' else='%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%' }%

Expands to: Bad expression at .TopicNameParent = NONE

This error occurs when the topic does not exist. In the cases of moved topics of areas this is normal.

I think that this is the correction:

%IF{" 'NONE%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%' = 'NONE' " then='(none)' else='%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%' }%

-- TWiki:Main/CarlinhosCecconi - 12 Mar 2007

I think that this is the correction:

%IF{"$'%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%'='NONE'" then='(none)' else='%SEARCH{ "^%TOPIC%$" scope="topic" regex="on" nosearch="on" nototal="on" format="$parent" }%' }%

-- TWiki:Main.AndreyTkachenko - 23 Mar 2007

I don't see an error at all with an unexisting topic. When I try /twiki/bin/oops/Sandbox/DeletedCrap?template=oopsmore&param1=8&param2=8 it will just let me assign a parent and create the topic when I click Edit.

-- TWiki:Main.ArthurClemens - 27 Mar 2007

Waiting for a testcase that demonstrates the problem.

CC

Two months has passed without a reaction from the reporters. No action. Reopen if you one day come back to check up on the bugs you raise.

KJL

ItemTemplate
Summary oopsmoresetparent bug
ReportedBy TWiki:Main.CarlinhosCecconi
Codebase 4.1.0, 4.1.1, 4.1.2, ~twiki4
SVN Range TWiki-4.1.2, Sat, 03 Mar 2007, build 13043
AppliesTo Engine
Component PatternSkin
Priority Normal
CurrentState No Action Required
WaitingFor

Checkins

TargetRelease n/a
ReleasedIn

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2007-05-27 - TWikiUserMapping_KennethLavrsen
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback