Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
FORMFIELD{"Summary" topic="Item1012"}
== Update logo in configure
shows "Update logo in configure" on release 1.0 and "FORMFIELD not working on trunk?" here, which is wrong.
FORMFIELD{"Summary" topic="Tasks.Item1012"}
== Update logo in configure
FORMFIELD{"Summary" topic="Tasks.Item1012" default=""}
==
--
SvenDowideit - 14 Mar 2009
Index: Foswiki.pm
===================================================================
--- Foswiki.pm (revision 3057)
+++ Foswiki.pm (working copy)
@@ -3113,6 +3113,11 @@
my ( $this, $params, $topicObject ) = @_;
my $query = $this->{request};
$params->{rev} = $query->param('rev') if ($query);
+ if ( $args->{topic} ) {
+ my ($web, $topic ) =
+ $this->normalizeWebTopicName( $topicObject->web, $args->{topic} );
+ $topicObject = new Foswiki::Meta( $session, $web, $topic );
+ }
return $this->renderer->renderFORMFIELD( $params, $topicObject );
}
needs unit test
--
CrawfordCurrie - 14 Mar 2009
I added a unit test that uncovered two other minor bugs, so leaving this as "waiting for release" rather than closing it. Documented secret 'rev' parameter, and made it apply beyond the current topic.
--
CrawfordCurrie - 14 Mar 2009