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¶m1=8¶m2=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