Item1869: No way to forcenewrevision from saveTopicText
Priority: Normal
Current State: No Action Required
Released In:
Target Release: n/a
Applies To: Engine
Component:
Branches:
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