Foswiki:Func provides an interface saveTopicText with purports to save a topic "with embedded meta". This can be useful on occasion, as long as you don't attempt to manually extract that meta. Unfortunately, the interface doesn't allow you to specify any options (other than ignorePermissions and dontNotify) on the save, so you end up with a new revision if you are not careful if ReplaceIfEditedWithin? is in range.

This function should be deprecated and replaced with a call that lets you pass all the options.

-- CrawfordCurrie - 31 Jul 2009

There is such a call, saveTopic. or better, you can build a Foswiki::Meta object and just ->save it.

No action.

-- CrawfordCurrie - 16 Dec 2009

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads