You are here: Foswiki>Tasks Web>Item11587 (11 Feb 2016, GeorgeClark)Edit Attach

Item11587: Calls to deprecated readTopicText and saveTopicText are in several public extensions

The Foswiki::Func::saveTopicText and Foswiki::Func::readTopicText APIs are inefficient and deprecated for many years (and according to SvenDowideit, broken).

The following public extensions use saveTopicText:

The following extensions also use saveTopicText, but only in tests (where it is marginally acceptable)

From a brief review of the usages, most are trivial to fix and are probably a result of a mistaken belief that this function is more efficient than saveTopic. Some are a result of a paired usage of readTopicText

The following extensions use =readTopicText in code:

And in tests:

-- CrawfordCurrie - 29 Feb 2012

DBIQueryPlugin is to be removed from the list, it's fixed.

-- VadimBelman - 02 Oct 2015
 

ItemTemplate edit

Summary Calls to deprecated readTopicText and saveTopicText are in several public extensions
ReportedBy CrawfordCurrie
Codebase trunk
SVN Range
AppliesTo Extension
Component ActionTrackerPlugin, BioKbPlugin, ChecklistPlugin, ChecklistTablePlugin, DBIQueryPlugin, DbXmlPlugin, DirectedGraphWebMapPlugin, EditHiddenTablePlugin, EditSyntaxPlugin, EditTablePlugin, EditTablerowPlugin, EmbedTopicPlugin, ExcelImportExportPlugin, FormPlugin, FormQueryPlugin, GenPDFAddOn, GenPDFLatexAddOn, GetAWebPlugin, GitPlugin, GlobalReplacePlugin, GpgkeyPlugin, ImmediateNotifyPlugin, ImportExportPlugin, IncludeRevisionPlugin, InterwikiPreviewPlugin, KinoSearchContrib, MailReminderPlugin, MsOfficeAttachmentsAsHTMLPlugin, NavPlugin, OrphansPlugin, PhotoarchivePlugin, PollPlugin, ProjectPlannerPlugin, PublishWebPlugin, RackPlannerPlugin, RandomQuotePlugin, ReadWriteOfflinePlugin, RenderFormPlugin, RenderTableDataPlugin, SetTopicValuesPlugin, SignaturePlugin, TWikiCompatibilityPlugin, TablePlugin, TimeTablePlugin, TopicReferencePlugin, UnitTestContrib, ValidateUrlsPlugin, XmlQueryPlugin, YetAnotherXpTrackerPlugin
Priority Normal
CurrentState Confirmed
WaitingFor
Checkins TopicCreatePlugin:a92cbb278aa1 TopicNameValidationPlugin:171babead6d9 distro:76ba63d3d6b6 distro:9d7b152fe69d distro:6e786df9d99b distro:d2177921a041
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches trunk master
trunkCheckins TopicCreatePlugin:a92cbb278aa1 TopicNameValidationPlugin:171babead6d9 distro:76ba63d3d6b6 distro:9d7b152fe69d
masterCheckins distro:6e786df9d99b distro:d2177921a041
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r18 - 11 Feb 2016, GeorgeClark - This page was cached on 26 May 2016 - 14:47.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License